From 6089da719624fafe29039b2570ff856e3d3a5cf7 Mon Sep 17 00:00:00 2001 From: Jeremy Eder Date: Mon, 15 Nov 2010 05:41:31 +0000 Subject: [PATCH] --- yaml --- r: 224417 b: refs/heads/master c: d67ef35fff67845c64d806c033cc7c569ccebfff h: refs/heads/master i: 224415: ff53a2a581ad61519e101cc9ebd11e1b766b85d0 v: v3 --- [refs] | 2 +- trunk/Documentation/networking/ip-sysctl.txt | 24 +++++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 0163aa03ee97..5e774cfef5eb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9920239c90d5f6dadfb44325abf3568a5e3fd827 +refs/heads/master: d67ef35fff67845c64d806c033cc7c569ccebfff diff --git a/trunk/Documentation/networking/ip-sysctl.txt b/trunk/Documentation/networking/ip-sysctl.txt index fe95105992c5..ae5522703d16 100644 --- a/trunk/Documentation/networking/ip-sysctl.txt +++ b/trunk/Documentation/networking/ip-sysctl.txt @@ -707,10 +707,28 @@ igmp_max_memberships - INTEGER Change the maximum number of multicast groups we can subscribe to. Default: 20 -conf/interface/* changes special settings per interface (where "interface" is - the name of your network interface) -conf/all/* is special, changes the settings for all interfaces + Theoretical maximum value is bounded by having to send a membership + report in a single datagram (i.e. the report can't span multiple + datagrams, or risk confusing the switch and leaving groups you don't + intend to). + The number of supported groups 'M' is bounded by the number of group + report entries you can fit into a single datagram of 65535 bytes. + + M = 65536-sizeof (ip header)/(sizeof(Group record)) + + Group records are variable length, with a minimum of 12 bytes. + So net.ipv4.igmp_max_memberships should not be set higher than: + + (65536-24) / 12 = 5459 + + The value 5459 assumes no IP header options, so in practice + this number may be lower. + + conf/interface/* changes special settings per interface (where + "interface" is the name of your network interface) + + conf/all/* is special, changes the settings for all interfaces log_martians - BOOLEAN Log packets with impossible addresses to kernel log.