summaryrefslogtreecommitdiff
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-01-22 06:07:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:10:36 -0800
commit6ddc082223ef0f73717b4133fa7e648842bbfd02 (patch)
tree62315ac04e396bc6e68543502fb6aeec50be6662 /include/net/ip.h
parente5a2bb842cd9681d00d4ca963e63e4d3647e66f8 (diff)
downloadlinux-3.10-6ddc082223ef0f73717b4133fa7e648842bbfd02.tar.gz
linux-3.10-6ddc082223ef0f73717b4133fa7e648842bbfd02.tar.bz2
linux-3.10-6ddc082223ef0f73717b4133fa7e648842bbfd02.zip
[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>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index fbe28308bf7..9f50d4f1f15 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -331,7 +331,7 @@ enum ip_defrag_users
};
int ip_defrag(struct sk_buff *skb, u32 user);
-int ip_frag_mem(void);
+int ip_frag_mem(struct net *net);
int ip_frag_nqueues(struct net *net);
/*