diff options
author | Pavel Emelyanov | 2008-01-22 15:06:23 +0100 |
---|---|---|
committer | David S. Miller | 2008-01-29 00:10:35 +0100 |
commit | e5a2bb842cd9681d00d4ca963e63e4d3647e66f8 (patch) | |
tree | b47692f3312039cb944f68f6fbeb0d10442f8056 /net/ipv6/netfilter/nf_conntrack_reasm.c | |
parent | [NETNS][FRAGS]: Make the inet_frag_queue lookup work in namespaces. (diff) | |
download | kernel-qcow2-linux-e5a2bb842cd9681d00d4ca963e63e4d3647e66f8.tar.gz kernel-qcow2-linux-e5a2bb842cd9681d00d4ca963e63e4d3647e66f8.tar.xz kernel-qcow2-linux-e5a2bb842cd9681d00d4ca963e63e4d3647e66f8.zip |
[NETNS][FRAGS]: Make the nqueues counter per-namespace.
This is simple - just move the variable from struct inet_frags
to struct netns_frags and adjust the usage appropriately.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/nf_conntrack_reasm.c')
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_reasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c index 18accd4eab06..0b9d0097b68d 100644 --- a/net/ipv6/netfilter/nf_conntrack_reasm.c +++ b/net/ipv6/netfilter/nf_conntrack_reasm.c @@ -712,6 +712,7 @@ int nf_ct_frag6_init(void) nf_frags.qsize = sizeof(struct nf_ct_frag6_queue); nf_frags.match = ip6_frag_match; nf_frags.frag_expire = nf_ct_frag6_expire; + inet_frags_init_net(&nf_init_frags); inet_frags_init(&nf_frags); return 0; |