diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-12-10 16:07:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 16:07:08 -0800 |
commit | bd91b8bf372911c1e4d66d6bb44fe409349a6791 (patch) | |
tree | 18a79fc3c86ad833523562d7b73a9a557207b51b /include/net | |
parent | 5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c (diff) | |
download | kernel_samsung_smdk4412-bd91b8bf372911c1e4d66d6bb44fe409349a6791.zip kernel_samsung_smdk4412-bd91b8bf372911c1e4d66d6bb44fe409349a6791.tar.gz kernel_samsung_smdk4412-bd91b8bf372911c1e4d66d6bb44fe409349a6791.tar.bz2 |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netns/ipv6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index 2932721..8a0a67d 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h @@ -55,5 +55,8 @@ struct netns_ipv6 { struct sock *ndisc_sk; struct sock *tcp_sk; struct sock *igmp_sk; +#ifdef CONFIG_IPV6_MROUTE + struct sock *mroute6_sk; +#endif }; #endif |