ipv4: prepare net initialization for IP accounting
authorPavel Emelyanov <xemul@openvz.org>
Thu, 17 Jul 2008 03:19:08 +0000 (20:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2008 03:19:08 +0000 (20:19 -0700)
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>

No differences found