]> Pileus Git - ~andy/linux/commit
ipv4: correct IGMP behavior on v3 query during v2-compatibility mode
authorDavid Stevens <dlstevens@us.ibm.com>
Thu, 30 Sep 2010 14:29:40 +0000 (14:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Oct 2010 04:58:47 +0000 (21:58 -0700)
commit5b7c84066733c5dfb0e4016d939757b38de189e4
treefe7edf2d6327abfc1c4abdab5121e73cce52b693
parent10ccff62bd3de7a64cf98f4c37ec0414b8affd4f
ipv4: correct IGMP behavior on v3 query during v2-compatibility mode

A recent patch to allow IGMPv2 responses to IGMPv3 queries
bypasses length checks for valid query lengths, incorrectly
resets the v2_seen timer, and does not support IGMPv1.

The following patch responds with a v2 report as required
by IGMPv2 while correcting the other problems introduced
by the patch.

Signed-Off-By: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c