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>

authored by Joakim Tjernlund and committed by David S. Miller 192910a6 66944e1c

-3
-3
net/ipv4/sysctl_net_ipv4.c
··· 311 311 .mode = 0644, 312 312 .proc_handler = proc_do_large_bitmap, 313 313 }, 314 - #ifdef CONFIG_IP_MULTICAST 315 314 { 316 315 .procname = "igmp_max_memberships", 317 316 .data = &sysctl_igmp_max_memberships, ··· 318 319 .mode = 0644, 319 320 .proc_handler = proc_dointvec 320 321 }, 321 - 322 - #endif 323 322 { 324 323 .procname = "igmp_max_msf", 325 324 .data = &sysctl_igmp_max_msf,