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)
commitdcd87999d415d39cf2ae510bfed6b8206d778e1c
tree09e9faac10dbe5ae9d4ab503add767de9a8a5e28
parentfa50d974d104113630d68b7d03233a6686230d0c
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