]> 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)
commit43e61e85189b1d60c02feb6493abbfe04ea46dfd
treec0b2cdb367590444dadf40ebb1924da59aed9467
parentd1d330de5c47acaa80492c5575cd03969636cd44
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