projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
724b9e1
)
net: ipv6: ping: Use socket mark in routing lookup
author
Lorenzo Colitti
<lorenzo@google.com>
Thu, 27 Feb 2014 04:38:26 +0000
(13:38 +0900)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Feb 2014 21:08:46 +0000
(16:08 -0500)
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ping.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ping.c
b/net/ipv6/ping.c
index
fb9beb7
..
587bbdc
100644
(file)
--- a/
net/ipv6/ping.c
+++ b/
net/ipv6/ping.c
@@
-135,6
+135,7
@@
int ping_v6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
fl6.flowi6_proto = IPPROTO_ICMPV6;
fl6.saddr = np->saddr;
fl6.daddr = *daddr;
+ fl6.flowi6_mark = sk->sk_mark;
fl6.fl6_icmp_type = user_icmph.icmp6_type;
fl6.fl6_icmp_code = user_icmph.icmp6_code;
security_sk_classify_flow(sk, flowi6_to_flowi(&fl6));