Skip to content
Snippets Groups Projects
Commit e579c8fe authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Devin Kim
Browse files

net: ipv6: ping: Use socket mark in routing lookup


Change-Id: I5a61e0f9f22f193c51b1aafd270fb0642a2e0fab
Signed-off-by: default avatarLorenzo Colitti <lorenzo@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e62b9132
Branches
Tags
No related merge requests found
......@@ -158,6 +158,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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment