]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 01:33:57 +0000 (10:33 +0900)
commit2e14c286d94922cd9f4bf3a2cb110ae0f24f9d85
treeb8f377f9a6ff55c2fd6ce6412d4925349dc0b298
parent39d073d0ce6fb9c45bbaeb314100c92c0c350552
net: Do not wrap sysctl igmp_max_memberships in IP_MULTICAST

[ Upstream commit 192910a6cca5e50e5bd6cbd1da0e7376c7adfe62 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/sysctl_net_ipv4.c