mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
tcp_memcontrol: Remove the per netns control.
The code that is implemented is per memory cgroup not per netns, and having per netns bits is just confusing. Remove the per netns bits to make it easier to see what is really going on. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f594d63199
commit
a4fe34bf90
9 changed files with 21 additions and 34 deletions
|
@ -259,6 +259,7 @@ extern int sysctl_tcp_max_orphans;
|
|||
extern int sysctl_tcp_fack;
|
||||
extern int sysctl_tcp_reordering;
|
||||
extern int sysctl_tcp_dsack;
|
||||
extern long sysctl_tcp_mem[3];
|
||||
extern int sysctl_tcp_wmem[3];
|
||||
extern int sysctl_tcp_rmem[3];
|
||||
extern int sysctl_tcp_app_win;
|
||||
|
@ -348,8 +349,6 @@ extern struct proto tcp_prot;
|
|||
#define TCP_ADD_STATS_USER(net, field, val) SNMP_ADD_STATS_USER((net)->mib.tcp_statistics, field, val)
|
||||
#define TCP_ADD_STATS(net, field, val) SNMP_ADD_STATS((net)->mib.tcp_statistics, field, val)
|
||||
|
||||
void tcp_init_mem(struct net *net);
|
||||
|
||||
void tcp_tasklet_init(void);
|
||||
|
||||
void tcp_v4_err(struct sk_buff *skb, u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue