netns: ipmr: allocate mroute_socket per-namespace.
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 22 Jan 2009 04:56:15 +0000 (04:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jan 2009 21:57:34 +0000 (13:57 -0800)
commit70a269e6c9c9b38b1a37dce068c59e9a912f8578
treef39e0615f1a2e6588f620969a1f0a05b616f0b0e
parente35fac80ed0bb878f652cc0f70ca268656d275f7
netns: ipmr: allocate mroute_socket per-namespace.

Preliminary work to make IPv4 multicast routing netns-aware.

Make IPv4 multicast routing mroute_socket per-namespace,
moves it into struct netns_ipv4.

At the moment, mroute_socket is only referenced in init_net.

Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv4.h
net/ipv4/ipmr.c