diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-15 08:01:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-15 08:05:26 +0200 |
commit | fd54d716b1f6a3551ec17a4bb34027727b2db09a (patch) | |
tree | c8afca51e9292740d3d2261e8a3f95e65a1135ee /include/net/icmp.h | |
parent | icmp: add struct net argument to icmp_out_count (diff) | |
download | linux-fd54d716b1f6a3551ec17a4bb34027727b2db09a.tar.xz linux-fd54d716b1f6a3551ec17a4bb34027727b2db09a.zip |
inet: toss struct net initialization around
Some places, that deal with ICMP statistics already have where
to get a struct net from, but use it directly, without declaring
a separate variable on the stack.
Since I will need this net soon, I declare a struct net on the
stack and use it in the existing places in a separate patch not
to spoil the future ones.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions