inet: Remove bogus IGMPv3 report handling
commit90a362e9ee4a793cff24c7c77db10a7bf4ccabdd
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Feb 2010 17:26:30 +0000 (7 17:26 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:49:39 +0000 (15 08:49 -0700)
treef3b7f79451dec510752862bf7445ff2823103c50
parent3118b8e153b1d293be320240733aa32e4b8ad437
inet: Remove bogus IGMPv3 report handling

[ Upstream commit c6b471e6454c0e1c6d756672841cbaeae7c949f8 ]

Currently we treat IGMPv3 reports as if it were an IGMPv2/v1 report.
This is broken as IGMPv3 reports are formatted differently.  So we
end up suppressing a bogus multicast group (which should be harmless
as long as the leading reserved field is zero).

In fact, IGMPv3 does not allow membership report suppression so
we should simply ignore IGMPv3 membership reports as a host.

This patch does exactly that.  I kept the case statement for it
so people won't accidentally add it back thinking that we overlooked
this case.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/igmp.c