[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>
This commit is contained in:
Pavel Emelyanov 2008-01-22 06:06:23 -08:00 committed by David S. Miller
parent ac18e7509e
commit e5a2bb842c
9 changed files with 24 additions and 12 deletions

View file

@ -332,7 +332,7 @@ enum ip_defrag_users
int ip_defrag(struct sk_buff *skb, u32 user);
int ip_frag_mem(void);
int ip_frag_nqueues(void);
int ip_frag_nqueues(struct net *net);
/*
* Functions provided by ip_forward.c