]> git.baikalelectronics.ru Git - 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)
commita24b9270a178f88d9b152293af0fa23fac53142a
treec0b2cdb367590444dadf40ebb1924da59aed9467
parent1390c2ec342a9d38b3db615eff35a06abce282c9
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