]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bridge-igmpv3-mldv2-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:16:59 +0000 (13:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:16:59 +0000 (13:16 -0500)
commit33de446359f99fd45b41e09cc594c7fb2dd63184
treeceed020739d9d6dbe55378e4173b9af38763dae3
parent75fca37f34e62b25c697266c815489c2fe335bd4
parentf55dd8b48a5105c1efea2ada0577d22c4b290be6
Merge branch 'bridge-igmpv3-mldv2-support'

Nikolay Aleksandrov says:

====================
bridge: add support for IGMPv3 and MLDv2 querier

This patch-set adds support for IGMPv3 and MLDv2 querier in the bridge.
Two new options which can be toggled via netlink and sysfs are added that
control the version per-bridge:
 multicast_igmp_version - default 2, can be set to 3
 multicast_mld_version - default 1, can be set to 2 (this option is
                         disabled if CONFIG_IPV6=n)

Note that the names do not include "querier", I think that these options
can be re-used later as more IGMPv3 support is added to the bridge so we
can avoid adding more options to switch between v2 and v3 behaviour.

The set uses the already existing br_ip{4,6}_multicast_alloc_query
functions and adds the appropriate header based on the chosen version.

For the initial support I have removed the compatibility implementation
(RFC3376 sec 7.3.1, 7.3.2; RFC3810 sec 8.3.1, 8.3.2), because there are
some details that we need to sort out.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>