[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170809.224752.1096296661923743221.davem@davemloft.net>
Date: Wed, 09 Aug 2017 22:47:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nborisov@...e.com
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, eric.dumazet@...il.com,
stable@...r.kernel.org
Subject: Re: [PATCHv2] igmp: Fix regression caused by igmp sysctl namespace
code.
From: Nikolay Borisov <nborisov@...e.com>
Date: Wed, 9 Aug 2017 14:38:04 +0300
> Commit dcd87999d415 ("igmp: net: Move igmp namespace init to correct file")
> moved the igmp sysctls initialization from tcp_sk_init to igmp_net_init. This
> function is only called as part of per-namespace initialization, only if
> CONFIG_IP_MULTICAST is defined, otherwise igmp_mc_init() call in ip_init is
> compiled out, casuing the igmp pernet ops to not be registerd and those sysctl
> being left initialized with 0. However, there are certain functions, such as
> ip_mc_join_group which are always compiled and make use of some of those
> sysctls. Let's do a partial revert of the aforementioned commit and move the
> sysctl initialization into inet_init_net, that way they will always have
> sane values.
>
> Fixes: dcd87999d415 ("igmp: net: Move igmp namespace init to correct file")
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=196595
> Reported-by: Gerardo Exequiel Pozzi <vmlinuz386@...il.com>
> Cc: <stable@...r.kernel.org> # 4.6
> Signed-off-by: Nikolay Borisov <nborisov@...e.com>
Please do not use "CC: stable.." for networking patches, I take care of
-stable submissions by hand for those.
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists