diff options
author | Eric Dumazet <edumazet@google.com> | 2016-04-01 08:52:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-04 22:11:19 -0400 |
commit | 3a5d1c0e7cb5ba91aabbd7e28626e3cc925f8093 (patch) | |
tree | 14db12b0567eaaa34d3d9850645daf8b54e8689f /net/ipv4/inet_hashtables.c | |
parent | tcp/dccp: use rcu locking in inet_diag_find_one_icsk() (diff) | |
download | linux-dev-3a5d1c0e7cb5ba91aabbd7e28626e3cc925f8093.tar.xz linux-dev-3a5d1c0e7cb5ba91aabbd7e28626e3cc925f8093.zip |
inet: reqsk_alloc() needs to take care of dead listeners
We'll soon no longer take a refcount on listeners,
so reqsk_alloc() can not assume a listener refcount is not
zero. We need to use atomic_inc_not_zero()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions