diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/request_sock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/request_sock.h b/include/net/request_sock.h index 72fd6f5e86b..334717bf9ef 100644 --- a/include/net/request_sock.h +++ b/include/net/request_sock.h | |||
@@ -89,6 +89,7 @@ struct listen_sock { | |||
89 | int qlen_young; | 89 | int qlen_young; |
90 | int clock_hand; | 90 | int clock_hand; |
91 | u32 hash_rnd; | 91 | u32 hash_rnd; |
92 | u32 nr_table_entries; | ||
92 | struct request_sock *syn_table[0]; | 93 | struct request_sock *syn_table[0]; |
93 | }; | 94 | }; |
94 | 95 | ||
@@ -129,11 +130,13 @@ static inline struct listen_sock *reqsk_queue_yank_listen_sk(struct request_sock | |||
129 | return lopt; | 130 | return lopt; |
130 | } | 131 | } |
131 | 132 | ||
132 | static inline void reqsk_queue_destroy(struct request_sock_queue *queue) | 133 | static inline void __reqsk_queue_destroy(struct request_sock_queue *queue) |
133 | { | 134 | { |
134 | kfree(reqsk_queue_yank_listen_sk(queue)); | 135 | kfree(reqsk_queue_yank_listen_sk(queue)); |
135 | } | 136 | } |
136 | 137 | ||
138 | extern void reqsk_queue_destroy(struct request_sock_queue *queue); | ||
139 | |||
137 | static inline struct request_sock * | 140 | static inline struct request_sock * |
138 | reqsk_queue_yank_acceptq(struct request_sock_queue *queue) | 141 | reqsk_queue_yank_acceptq(struct request_sock_queue *queue) |
139 | { | 142 | { |