diff options
| author | Nikolay Borisov <[email protected]> | 2016-02-08 22:13:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-11 14:59:22 +0000 |
| commit | 87a8a2ae65b7721893c7922f963502be8fa01c94 (patch) | |
| tree | 7e47d5033ed61380c3ecb1f030fb37c1d6085cd1 /net/ipv4/tcp_ipv4.c | |
| parent | igmp: Namespaceify igmp_max_msf sysctl knob (diff) | |
| download | kernel-87a8a2ae65b7721893c7922f963502be8fa01c94.tar.gz kernel-87a8a2ae65b7721893c7922f963502be8fa01c94.zip | |
igmp: Namespaceify igmp_llm_reports sysctl knob
This was initially introduced in df2cf4a78e488d26 ("IGMP: Inhibit
reports for local multicast groups") by defining the sysctl in the
ipv4_net_table array, however it was never implemented to be
namespace aware. Fix this by changing the code accordingly.
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
| -rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 055d8a9a0c61..6c3c1d5232c6 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2401,6 +2401,8 @@ static int __net_init tcp_sk_init(struct net *net) net->ipv4.sysctl_igmp_max_memberships = 20; net->ipv4.sysctl_igmp_max_msf = 10; + /* IGMP reports for link-local multicast groups are enabled by default */ + net->ipv4.sysctl_igmp_llm_reports = 1; return 0; fail: |
