[NETNS][FRAGS]: Make the mem counter per-namespace.
This is also simple, but introduces more changes, since then mem counter is altered in more places. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e5a2bb842c
commit
6ddc082223
@@ -246,7 +246,7 @@ struct ipv6_txoptions *ipv6_fixup_options(struct ipv6_txoptions *opt_space,
|
||||
extern int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb);
|
||||
|
||||
int ip6_frag_nqueues(struct net *net);
|
||||
int ip6_frag_mem(void);
|
||||
int ip6_frag_mem(struct net *net);
|
||||
|
||||
#define IPV6_FRAG_TIMEOUT (60*HZ) /* 60 seconds */
|
||||
|
||||
|
Reference in New Issue
Block a user