]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ipv4: add check for l3slave for index returned in IP_PKTINFO
authorDavid Ahern <dsahern@gmail.com>
Sat, 12 Aug 2017 00:11:15 +0000 (17:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:05:13 +0000 (20:05 -0700)
commit1dfa76390bf056a49c1105b11f815a35a693b77c
tree85e43990b22da13e99bb876186c17e0e39ea0483
parent4f04256c983a4f115417d2009b44dcb7d70a6375
net: ipv4: add check for l3slave for index returned in IP_PKTINFO

Similar to the loopback device, for packets sent through a VRF device
the index returned in ipi_ifindex needs to be the saved index in
rt_iif.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c