mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e35fac80ed
commit
70a269e6c9
2 changed files with 17 additions and 15 deletions
|
|
@ -54,5 +54,9 @@ struct netns_ipv4 {
|
|||
|
||||
struct timer_list rt_secret_timer;
|
||||
atomic_t rt_genid;
|
||||
|
||||
#ifdef CONFIG_IP_MROUTE
|
||||
struct sock *mroute_sk;
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue