Skip to content

Commit

Permalink
net: ipv6: ping: Use socket mark in routing lookup
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Colitti <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
lcolitti authored and davem330 committed Feb 27, 2014
1 parent 724b9e1 commit bf439b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv6/ping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit bf439b3

Please sign in to comment.