From: Lorenzo Colitti Date: Thu, 27 Feb 2014 04:38:26 +0000 (+0900) Subject: net: ipv6: ping: Use socket mark in routing lookup X-Git-Tag: v3.14-rc6~30^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf439b3154ce49d81a79b14f9fab18af99018ae2;p=profile%2Fivi%2Fkernel-x86-ivi.git net: ipv6: ping: Use socket mark in routing lookup Signed-off-by: Lorenzo Colitti Signed-off-by: David S. Miller --- diff --git a/net/ipv6/ping.c b/net/ipv6/ping.c index fb9beb7..587bbdc 100644 --- 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));