aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_forward.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-16 23:19:08 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-16 23:19:08 -0400
commit84a3aa000eacbaf841d745b07ef3a3280899056b (patch)
tree013d13bb51e1046f6864ae634edaf0dad30da2e7 /net/ipv4/ip_forward.c
parent78ed11a56bd8679aa6d51eb36b448342c59a7824 (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