]> git.baikalelectronics.ru Git - kernel.git/commit
igmp: net: Move igmp namespace init to correct file
authorNikolay Borisov <kernel@kyup.com>
Mon, 15 Feb 2016 10:11:28 +0000 (12:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 01:42:54 +0000 (20:42 -0500)
commit2bab000f1a3112271cd9c7233f84dab6e721cde6
tree09e9faac10dbe5ae9d4ab503add767de9a8a5e28
parent23793cb4faddc1cfece869c549bccaca6a0befe4
igmp: net: Move igmp namespace init to correct file

When igmp related sysctl were namespacified their initializatin was
erroneously put into the tcp socket namespace constructor. This
patch moves the relevant code into the igmp namespace constructor to
keep things consistent.

Also sprinkle some #ifdefs to silence warnings

Signed-off-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c
net/ipv4/tcp_ipv4.c