]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: make unsolicited report intervals configurable for mld
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Tue, 13 Aug 2013 23:03:46 +0000 (01:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Aug 2013 00:05:04 +0000 (17:05 -0700)
commitd7e9b114816fe468d69b7924430fe6adf8c6d310
tree94f3e5c02dc7d27c1a851e8c9368081c47d6d38c
parent25a8d4c5f82bb7adc06265cf14eb0500b49158a1
ipv6: make unsolicited report intervals configurable for mld

Commit d09de4d15166588dda4a150eecddb489d8cc17fb ("net: igmp:
Reduce Unsolicited report interval to 1s when using IGMPv3") and
5efa6673af1105ed8209a47018f8a69a8de1334f ("net: igmp: Allow user-space
configuration of igmp unsolicited report interval") by William Manley made
igmp unsolicited report intervals configurable per interface and corrected
the interval of unsolicited igmpv3 report messages resendings to 1s.

Same needs to be done for IPv6:

MLDv1 (RFC2710 7.10.): 10 seconds
MLDv2 (RFC3810 9.11.): 1 second

Both intervals are configurable via new procfs knobs
mldv1_unsolicited_report_interval and mldv2_unsolicited_report_interval.

(also added .force_mld_version to ipv6_devconf_dflt to bring structs in
line without semantic changes)

v2:
a) Joined documentation update for IPv4 and IPv6 MLD/IGMP
   unsolicited_report_interval procfs knobs.
b) incorporate stylistic feedback from William Manley

v3:
a) add new DEVCONF_* values to the end of the enum (thanks to David
   Miller)

Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: William Manley <william.manley@youview.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/linux/ipv6.h
include/uapi/linux/ipv6.h
net/ipv6/addrconf.c
net/ipv6/mcast.c