]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bridge: multicast: treat igmpv3 report with INCLUDE and no sources as a leave
authorSatish Ashok <sashok@cumulusnetworks.com>
Mon, 13 Jul 2015 12:28:37 +0000 (05:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jul 2015 00:10:40 +0000 (17:10 -0700)
commitbc8c20acaea154efc558f5f4122ed65d396f6156
treec0b2cdb367590444dadf40ebb1924da59aed9467
parent89c22d8c3b278212eef6a8cc66b570bc840a6f5a
bridge: multicast: treat igmpv3 report with INCLUDE and no sources as a leave

A report with INCLUDE/Change_to_include and empty source list should be
treated as a leave, specified by RFC 3376, section 3.1:
"If the requested filter mode is INCLUDE *and* the requested source
 list is empty, then the entry corresponding to the requested
 interface and multicast address is deleted if present.  If no such
 entry is present, the request is ignored."

Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c