]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/ip6mr.c
netns: ip6mr: allocate mroute6_socket per-namespace.
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 11 Dec 2008 00:07:08 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Dec 2008 00:07:08 +0000 (16:07 -0800)
commitbd91b8bf372911c1e4d66d6bb44fe409349a6791
tree18a79fc3c86ad833523562d7b73a9a557207b51b
parent5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c
netns: ip6mr: allocate mroute6_socket per-namespace.

Preliminary work to make IPv6 multicast forwarding netns-aware.

Make IPv6 multicast forwarding mroute6_socket per-namespace,
moves it into struct netns_ipv6.

At the moment, mroute6_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/linux/mroute6.h
include/net/netns/ipv6.h
net/ipv6/ip6_output.c
net/ipv6/ip6mr.c