summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/igmp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index a1760ffd46ae..c887839e79ea 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -367,12 +367,6 @@ int igmp_rcv(struct sk_buff *skb)
return 0;
}
- if (skb->pkt_type!=PACKET_MULTICAST) {
- in_dev_put(in_dev);
- kfree_skb(skb);
- return 0;
- }
-
switch (ih->type) {
case IGMP_HOST_MEMBERSHIP_QUERY:
igmp_heard_query(in_dev, ih->code, ih->group);