net: Do not wrap sysctl igmp_max_memberships in IP_MULTICAST
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 12 Apr 2011 20:59:33 +0000 (13:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Apr 2011 20:59:33 +0000 (13:59 -0700)
commit192910a6cca5e50e5bd6cbd1da0e7376c7adfe62
treec7638554eb015ac8a1306d6916c047adc164e960
parent66944e1c5797562cebe2d1857d46dff60bf9a69e
net: Do not wrap sysctl igmp_max_memberships in IP_MULTICAST

controlling igmp_max_membership is useful even when IP_MULTICAST
is off.
Quagga(an OSPF deamon) uses multicast addresses for all interfaces
using a single socket and hits igmp_max_membership limit when
there are 20 interfaces or more.
Always export sysctl igmp_max_memberships in proc, just like
igmp_max_msf

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c