]> 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)
commit46094d60cb5f53834656730e63e843e5f3632567
tree0274ee1dda9b3a701d5b44fd34884771c69a7cc2
parent75fca37f34e62b25c697266c815489c2fe335bd4
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