git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv6: use newly introduced __ipv6_addr_needs_scope_id and ipv6_iface_scope_id
[pandora-kernel.git]
/
net
/
ipv6
/
icmp.c
diff --git
a/net/ipv6/icmp.c
b/net/ipv6/icmp.c
index
fff5bdd
..
71b900c
100644
(file)
--- a/
net/ipv6/icmp.c
+++ b/
net/ipv6/icmp.c
@@
-434,7
+434,7
@@
void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
* Source addr check
*/
- if (
addr_type & IPV6_ADDR_LINKLOCAL
)
+ if (
__ipv6_addr_needs_scope_id(addr_type)
)
iif = skb->dev->ifindex;
/*