IPoIB: Set pkt_type correctly for multicast packets (fix IGMP breakage)
authorChristoph Lameter <cl@linux.com>
Fri, 27 Aug 2010 13:29:38 +0000 (08:29 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 28 Sep 2010 18:09:23 +0000 (11:09 -0700)
IGMP processing is broken because the IPOIB does not set the
skb->pkt_type the right way for multicast traffic.  All incoming
packets are set to PACKET_HOST which means that igmp_recv() will
ignore the IGMP broadcasts/multicasts.

This in turn means that the IGMP timers are firing and are sending
information about multicast subscriptions unnecessarily.  In a large
private network this can cause traffic spikes.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found