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)
commit5e9235853d652a295d5f56cb8652950b6b5bf56b
tree0274ee1dda9b3a701d5b44fd34884771c69a7cc2
parentfc51f2b7e5f6cc0bb1958efda18926b0c600e9d9
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