]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: mcast: add IGMPv3 query support
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 21 Nov 2016 12:03:24 +0000 (13:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:16:58 +0000 (13:16 -0500)
commit31149b57b0cd7d73075c7f7cbca2f6157a8c7c7e
tree0274ee1dda9b3a701d5b44fd34884771c69a7cc2
parent7235e27852ac6e720dd7f14f40d1afa05b7123f0
bridge: mcast: add IGMPv3 query support

This patch adds basic support for IGMPv3 queries, the default is IGMPv2
as before. A new multicast option - multicast_igmp_version, adds the
ability to change it between 2 and 3 via netlink and sysfs. The option
struct member is in a 4 byte hole in net_bridge.

There also a few minor style adjustments in br_multicast_new_group and
br_multicast_add_group.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/bridge/br_multicast.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_sysfs_br.c