[IGMP]: workaround for IGMP v1/v2 bug
authorDavid Stevens <dlstevens@us.ibm.com>
Sat, 3 Dec 2005 04:32:59 +0000 (20:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2005 04:32:59 +0000 (20:32 -0800)
commit24c6927505ca77ee4ac25fb31dcd56f6506979ed
tree17d873b63f0ce24b81e184f2515f2b643143e48e
parentbf031fff1fac77775b2cd2c72ad8b017f4c0af13
[IGMP]: workaround for IGMP v1/v2 bug

From: David Stevens <dlstevens@us.ibm.com>

As explained at:

http://www.cs.ucsb.edu/~krishna/igmp_dos/

With IGMP version 1 and 2 it is possible to inject a unicast
report to a client which will make it ignore multicast
reports sent later by the router.

The fix is to only accept the report if is was sent to a
multicast or unicast address.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c
net/ipv6/mcast.c