]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix vti use case with oif in dst lookups for IPv6
authorDavid Ahern <dsa@cumulusnetworks.com>
Mon, 5 Oct 2015 14:32:51 +0000 (08:32 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:24:00 +0000 (04:24 -0700)
commit9bdfa78b9c4ac354bc358e2d3bd6e9bc1df7d354
tree63f4d56dcabe89d032976c97d29ce1aeaffd1c54
parent01d39fd582a5feb757eaf4502abb48f450a910bc
net: Fix vti use case with oif in dst lookups for IPv6

It occurred to me yesterday that a92a1e0451710 ("net: ipv6: Add
RT6_LOOKUP_F_IFACE flag if oif is set") means that xfrm6_dst_lookup
needs the FLOWI_FLAG_SKIP_NH_OIF flag set. This latest commit causes
the oif to be considered in lookups which is known to break vti. This
explains why 91c754603a34 did not the IPv6 change at the time it was
submitted.

Fixes: c2aa866fb2cf ("xfrm: Add oif to dst lookups")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_policy.c