Home
last modified time | relevance | path

Searched hist:"31680 ac265802397937d75461a2809a067b9fb93" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Droute.cdiff 31680ac265802397937d75461a2809a067b9fb93 Wed May 22 17:12:18 CDT 2019 David Ahern <dsahern@gmail.com> ipv6: Fix redirect with VRF

IPv6 redirect is broken for VRF. __ip6_route_redirect walks the FIB
entries looking for an exact match on ifindex. With VRF the flowi6_oif
is updated by l3mdev_update_flow to the l3mdev index and the
FLOWI_FLAG_SKIP_NH_OIF set in the flags to tell the lookup to skip the
device match. For redirects the device match is requires so use that
flag to know when the oif needs to be reset to the skb device index.

Fixes: ca254490c8df ("net: Add VRF support to IPv6 stack")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>