summaryrefslogtreecommitdiffstats
path: root/include/linux/if_bridge.h
diff options
context:
space:
mode:
authorLinus Lüssing2014-06-07 18:26:27 +0200
committerDavid S. Miller2014-06-11 08:50:47 +0200
commitdc4eb53a996a78bfb8ea07b47423ff5a3aadc362 (patch)
treeb8e20e21f06afd05489ff5fba727c8c01717db70 /include/linux/if_bridge.h
parentbridge: rename struct bridge_mcast_query/querier (diff)
downloadkernel-qcow2-linux-dc4eb53a996a78bfb8ea07b47423ff5a3aadc362.tar.gz
kernel-qcow2-linux-dc4eb53a996a78bfb8ea07b47423ff5a3aadc362.tar.xz
kernel-qcow2-linux-dc4eb53a996a78bfb8ea07b47423ff5a3aadc362.zip
bridge: adhere to querier election mechanism specified by RFCs
MLDv1 (RFC2710 section 6), MLDv2 (RFC3810 section 7.6.2), IGMPv2 (RFC2236 section 3) and IGMPv3 (RFC3376 section 6.6.2) specify that the querier with lowest source address shall become the selected querier. So far the bridge stopped its querier as soon as it heard another querier regardless of its source address. This results in the "wrong" querier potentially becoming the active querier or a potential, unnecessary querying delay. With this patch the bridge memorizes the source address of the currently selected querier and ignores queries from queriers with a higher source address than the currently selected one. This slight optimization is supposed to make it more RFC compliant (but is rather uncritical and therefore probably not necessary to be queued for stable kernels). Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_bridge.h')
0 files changed, 0 insertions, 0 deletions