ipv4: implement igmp_qrv sysctl to tune igmp robustness variable
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Tue, 2 Sep 2014 13:49:26 +0000 (15:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Sep 2014 05:26:14 +0000 (22:26 -0700)
commita9fe8e29945d56f35235a3a0fba99b4cf181d211
tree54ad0e07c0f0d789abc31517256e43ad5ae878d6
parent2f711939d2ea9dfaecebecd1324d2ec7a7a21f65
ipv4: implement igmp_qrv sysctl to tune igmp robustness variable

As in IPv6 people might increase the igmp query robustness variable to
make sure unsolicited state change reports aren't lost on the network. Add
and document this new knob to igmp code.

RFCs allow tuning this parameter back to first IGMP RFC, so we also use
this setting for all counters, including source specific multicast.

Also take over sysctl value when upping the interface and don't reuse
the last one seen on the interface.

Cc: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/linux/igmp.h
net/ipv4/igmp.c
net/ipv4/sysctl_net_ipv4.c