Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254238
b: refs/heads/master
c: bd4265f
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 25, 2011
1 parent b34815d commit 796c6fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b997d79a91f7b6be952b98cf9d9585b124558f5b
refs/heads/master: bd4265fe365c0f3945dd5ff1527e52bbe2bedfa2
5 changes: 4 additions & 1 deletion trunk/net/bridge/br_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -1379,8 +1379,11 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,
if (unlikely(ip_fast_csum((u8 *)iph, iph->ihl)))
return -EINVAL;

if (iph->protocol != IPPROTO_IGMP)
if (iph->protocol != IPPROTO_IGMP) {
if ((iph->daddr & IGMP_LOCAL_GROUP_MASK) != IGMP_LOCAL_GROUP)
BR_INPUT_SKB_CB(skb)->mrouters_only = 1;
return 0;
}

len = ntohs(iph->tot_len);
if (skb->len < len || len < ip_hdrlen(skb))
Expand Down

0 comments on commit 796c6fa

Please sign in to comment.