projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5c2d3
)
[IPV6]: Reverse sense of promisc tests in ip6_mc_input
author
Corey Mutter
<
[email protected]
>
Mon, 14 May 2007 10:00:27 +0000
(
03:00
-0700)
committer
David S. Miller
<
[email protected]
>
Mon, 14 May 2007 10:00:27 +0000
(
03:00
-0700)
Reverse the sense of the promiscuous-mode tests in ip6_mc_input().
Signed-off-by: Corey Mutter <
[email protected]
>
Signed-off-by: David L Stevens <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv6/ip6_input.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ip6_input.c
b/net/ipv6/ip6_input.c
index be0ee8a34f9bd379a3e23d53099299e8ff6beea5..30a5cb1b203e1e644c0e3182692b91549c9c9725 100644
(file)
--- a/
net/ipv6/ip6_input.c
+++ b/
net/ipv6/ip6_input.c
@@
-235,7
+235,7
@@
int ip6_mc_input(struct sk_buff *skb)
IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_INMCASTPKTS);
hdr = ipv6_hdr(skb);
- deliver =
likely(!(skb->dev->flags & (IFF_PROMISC|IFF_ALLMULTI)
)) ||
+ deliver =
unlikely(skb->dev->flags & (IFF_PROMISC|IFF_ALLMULTI
)) ||
ipv6_chk_mcast_addr(skb->dev, &hdr->daddr, NULL);
/*