diff options
| author | Eric Dumazet <[email protected]> | 2015-09-29 14:42:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-09-29 23:53:10 +0000 |
| commit | 2985aaac010ebd5e562ce1a22cc61acbb0e40cf2 (patch) | |
| tree | 43f34a8d12365c7ee0e5101bb30332e8fbcc0827 /net/switchdev/switchdev.c | |
| parent | tcp: constify tcp_v{4|6}_route_req() sock argument (diff) | |
| download | kernel-2985aaac010ebd5e562ce1a22cc61acbb0e40cf2.tar.gz kernel-2985aaac010ebd5e562ce1a22cc61acbb0e40cf2.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
