You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[REQSK]: Move the syn_table destroy from tcp_listen_stop to reqsk_queue_destroy
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
080774a243
commit
83e3609eba
@@ -89,6 +89,7 @@ struct listen_sock {
|
||||
int qlen_young;
|
||||
int clock_hand;
|
||||
u32 hash_rnd;
|
||||
u32 nr_table_entries;
|
||||
struct request_sock *syn_table[0];
|
||||
};
|
||||
|
||||
@@ -129,11 +130,13 @@ static inline struct listen_sock *reqsk_queue_yank_listen_sk(struct request_sock
|
||||
return lopt;
|
||||
}
|
||||
|
||||
static inline void reqsk_queue_destroy(struct request_sock_queue *queue)
|
||||
static inline void __reqsk_queue_destroy(struct request_sock_queue *queue)
|
||||
{
|
||||
kfree(reqsk_queue_yank_listen_sk(queue));
|
||||
}
|
||||
|
||||
extern void reqsk_queue_destroy(struct request_sock_queue *queue);
|
||||
|
||||
static inline struct request_sock *
|
||||
reqsk_queue_yank_acceptq(struct request_sock_queue *queue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user