]> git.baikalelectronics.ru Git - kernel.git/commit
inet: Remove bogus IGMPv3 report handling
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Feb 2010 17:26:30 +0000 (17:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 19:42:20 +0000 (11:42 -0800)
commit2db171fc733fab35007058bf88448e2b70233c1b
treefae818de582e5096f7098631679dc763241d00b5
parentf9f823458ab232e7adcb29137fd5323ab54b52ab
inet: Remove bogus IGMPv3 report handling

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>
net/ipv4/igmp.c