mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
ipv4: Namespaceify tcp_max_syn_backlog knob
Different namespace application might require different maximal number of remembered connection requests. Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1946e672c1
commit
fee83d097b
7 changed files with 16 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* NET Generic infrastructure for Network protocols.
|
||||
*
|
||||
* Definitions for request_sock
|
||||
* Definitions for request_sock
|
||||
*
|
||||
* Authors: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
|
||||
*
|
||||
|
@ -123,8 +123,6 @@ static inline void reqsk_put(struct request_sock *req)
|
|||
reqsk_free(req);
|
||||
}
|
||||
|
||||
extern int sysctl_max_syn_backlog;
|
||||
|
||||
/*
|
||||
* For a TCP Fast Open listener -
|
||||
* lock - protects the access to all the reqsk, which is co-owned by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue