diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 07:42:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 16:53:10 -0700 |
commit | 2985aaac010ebd5e562ce1a22cc61acbb0e40cf2 (patch) | |
tree | 43f34a8d12365c7ee0e5101bb30332e8fbcc0827 /net/ipv4/af_inet.c | |
parent | f964629e3338d9e5a78c9b354380d5a1e2fa4617 (diff) | |
download | op-kernel-dev-2985aaac010ebd5e562ce1a22cc61acbb0e40cf2.zip op-kernel-dev-2985aaac010ebd5e562ce1a22cc61acbb0e40cf2.tar.gz |
tcp: constify tcp_syn_flood_action() socket argument
tcp_syn_flood_action() will soon be called with unlocked socket.
In order to avoid SYN flood warning being emitted multiple times,
use xchg().
Extend max_qlen_log and synflood_warned fields in struct listen_sock
to u32
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
0 files changed, 0 insertions, 0 deletions