diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-16 23:19:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-16 23:19:08 -0400 |
commit | 84a3aa000eacbaf841d745b07ef3a3280899056b (patch) | |
tree | 013d13bb51e1046f6864ae634edaf0dad30da2e7 /net/ipv4/ip_forward.c | |
parent | 78ed11a56bd8679aa6d51eb36b448342c59a7824 (diff) |
ipv4: prepare net initialization for IP accounting
Some places, that deal with IP statistics already have where to
get a struct net from, but use it directly, without declaring
a separate variable on the stack.
So, save this net on the stack for future IP_XXX_STATS macros.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_forward.c')
0 files changed, 0 insertions, 0 deletions