commit | fd54d716b1f6a3551ec17a4bb34027727b2db09a | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Mon Jul 14 23:01:40 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 14 23:05:26 2008 -0700 |
tree | c8afca51e9292740d3d2261e8a3f95e65a1135ee | |
parent | 0388b0042624714e6f8db8cc7994101a0a02d392 [diff] |
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>