Commit 90e464a4 authored by Alexey Kuznetsov's avatar Alexey Kuznetsov Committed by David S. Miller

net/ipv4/igmp.c: Revert PACKET_MULTICAST check.

- The media is allowed not to have any support for
link-level multicasts, ppp is an example.
parent ac3ebbfb
...@@ -367,12 +367,6 @@ int igmp_rcv(struct sk_buff *skb) ...@@ -367,12 +367,6 @@ int igmp_rcv(struct sk_buff *skb)
return 0; return 0;
} }
if (skb->pkt_type!=PACKET_MULTICAST) {
in_dev_put(in_dev);
kfree_skb(skb);
return 0;
}
switch (ih->type) { switch (ih->type) {
case IGMP_HOST_MEMBERSHIP_QUERY: case IGMP_HOST_MEMBERSHIP_QUERY:
igmp_heard_query(in_dev, ih->code, ih->group); igmp_heard_query(in_dev, ih->code, ih->group);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment