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>
diff --git a/include/net/request_sock.h b/include/net/request_sock.h
index d128e7f..273fb72 100644
--- a/include/net/request_sock.h
+++ b/include/net/request_sock.h
@@ -123,7 +123,6 @@
*/
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 request_sock_queue {
spinlock_t rskq_lock;
u8 rskq_defer_accept;
+ u32 synflood_warned;
atomic_t qlen;
atomic_t young;