summaryrefslogtreecommitdiffstats
path: root/include/net/request_sock.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-10-02 20:43:25 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-03 13:32:37 +0200
commit8d2675f1e464aa5cedda63849adecffd8d33fead (patch)
treee1d28155d25be1e48275152f6703b0f4cecf6911 /include/net/request_sock.h
parenttcp: move qlen/young out of struct listen_sock (diff)
downloadlinux-8d2675f1e464aa5cedda63849adecffd8d33fead.tar.xz
linux-8d2675f1e464aa5cedda63849adecffd8d33fead.zip
tcp: move synflood_warned into struct request_sock_queue
long term plan is to remove struct listen_sock when its hash table is no longer there. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/request_sock.h')
-rw-r--r--include/net/request_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/request_sock.h b/include/net/request_sock.h
index d128e7f89042..273fb7235ce3 100644
--- a/include/net/request_sock.h
+++ b/include/net/request_sock.h
@@ -123,7 +123,6 @@ extern int sysctl_max_syn_backlog;
*/
struct listen_sock {
u32 max_qlen_log;
- u32 synflood_warned;
u32 hash_rnd;
u32 nr_table_entries;
struct request_sock *syn_table[0];
@@ -171,6 +170,7 @@ struct fastopen_queue {
struct request_sock_queue {
spinlock_t rskq_lock;
u8 rskq_defer_accept;
+ u32 synflood_warned;
atomic_t qlen;
atomic_t young;