]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: don't try to update timers in case of broken MLD queries
authorLinus Lüssing <linus.luessing@web.de>
Mon, 5 Aug 2013 22:32:05 +0000 (00:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 22:43:39 +0000 (15:43 -0700)
commit052b77e61c0d33f4fd73b9a183d8d3e632736e49
treec7349bfefa0cef9cbb43b381ae369261035a2e1e
parent0e245a8551702a558e6f2b6e7908749b7f5b8f7d
bridge: don't try to update timers in case of broken MLD queries

Currently we are reading an uninitialized value for the max_delay
variable when snooping an MLD query message of invalid length and would
update our timers with that.

Fixing this by simply ignoring such broken MLD queries (just like we do
for IGMP already).

This is a regression introduced by:
"bridge: disable snooping if there is no querier" (5231d8c6ad99)

Reported-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c