projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e5e76
)
bridge: use ipv4_is_local_multicast() helper
author
Amerigo Wang
<amwang@redhat.com>
Thu, 7 Mar 2013 02:32:26 +0000
(
02:32
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 7 Mar 2013 21:29:53 +0000
(16:29 -0500)
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_multicast.c
b/net/bridge/br_multicast.c
index 10e6fce1bb62abb0987a98c167bf653356e088ac..81d51b859a594537fc9d18fa6711afa49c52b214 100644
(file)
--- a/
net/bridge/br_multicast.c
+++ b/
net/bridge/br_multicast.c
@@
-1368,7
+1368,7
@@
static int br_multicast_ipv4_rcv(struct net_bridge *br,
return -EINVAL;
if (iph->protocol != IPPROTO_IGMP) {
- if (
(iph->daddr & IGMP_LOCAL_GROUP_MASK) != IGMP_LOCAL_GROUP
)
+ if (
!ipv4_is_local_multicast(iph->daddr)
)
BR_INPUT_SKB_CB(skb)->mrouters_only = 1;
return 0;
}