diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-14 23:01:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-14 23:05:26 -0700 |
commit | fd54d716b1f6a3551ec17a4bb34027727b2db09a (patch) | |
tree | c8afca51e9292740d3d2261e8a3f95e65a1135ee /include/net/icmp.h | |
parent | 0388b0042624714e6f8db8cc7994101a0a02d392 (diff) | |
download | kernel_samsung_smdk4412-fd54d716b1f6a3551ec17a4bb34027727b2db09a.zip kernel_samsung_smdk4412-fd54d716b1f6a3551ec17a4bb34027727b2db09a.tar.gz kernel_samsung_smdk4412-fd54d716b1f6a3551ec17a4bb34027727b2db09a.tar.bz2 |
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 'include/net/icmp.h')
0 files changed, 0 insertions, 0 deletions