]> 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)
commit25f2f53d58b6fde4e31421e4aca8a21666055f95
tree09e9faac10dbe5ae9d4ab503add767de9a8a5e28
parent7830d55b10b4d9a038983071cd688ff54c7e3404
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