[NETNS][RAW]: Eliminate explicit init_net references.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 14 Jan 2008 13:36:27 +0000 (05:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:06 +0000 (15:02 -0800)
commite5ba31f11f6cae785e893d5d10abd612fef0b6bc
tree9c4f4782fc52569218e6e9b1c8ab5c5820cd53eb
parentf51d599fbecf4881a36466f0355da6b0b346ea70
[NETNS][RAW]: Eliminate explicit init_net references.

Happily, in all the rest places (->bind callbacks only), that require the
struct net, we have a socket, so get the net from it.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/raw.c
net/ipv6/raw.c