summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-09-14 03:11:37 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-16 00:27:51 +0300
commitcbea8f02069533ea2ad4e5b3bfbcdb0894c20354 (patch)
tree76214a42f705f5c745b735046942b6e672fdbcf8 /net/ipv4/tcp.c
parent2aa70f864955bf02362e3fb3008e4208d7a17a98 (diff)
downloadlinux-cbea8f02069533ea2ad4e5b3bfbcdb0894c20354.tar.xz
net: ipv4: fix l3slave check for index returned in IP_PKTINFO
rt_iif is only set to the actual egress device for the output path. The recent change to consider the l3slave flag when returning IP_PKTINFO works for local traffic (the correct device index is returned), but it broke the more typical use case of packets received from a remote host always returning the VRF index rather than the original ingress device. Update the fixup to consider l3slave and rt_iif actually getting set. Fixes: 1dfa76390bf05 ("net: ipv4: add check for l3slave for index returned in IP_PKTINFO") Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions