netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ipv6: ping: Use socket mark in routing lookup
@ 2014-02-27  4:38 Lorenzo Colitti
  2014-02-27 21:09 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Colitti @ 2014-02-27  4:38 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Lorenzo Colitti

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
---
 net/ipv6/ping.c | 1 +
 1 file changed, 1 insertion(+)

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));
-- 
1.9.0.rc1.175.g0b1dcb5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: ipv6: ping: Use socket mark in routing lookup
  2014-02-27  4:38 [PATCH] net: ipv6: ping: Use socket mark in routing lookup Lorenzo Colitti
@ 2014-02-27 21:09 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-02-27 21:09 UTC (permalink / raw)
  To: lorenzo; +Cc: netdev

From: Lorenzo Colitti <lorenzo@google.com>
Date: Thu, 27 Feb 2014 13:38:26 +0900

> Signed-off-by: Lorenzo Colitti <lorenzo@google.com>

Applied, thanks a lot.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-27 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27  4:38 [PATCH] net: ipv6: ping: Use socket mark in routing lookup Lorenzo Colitti
2014-02-27 21:09 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).