]> 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:25:03 +0000 (04:25 -0700)
commit9c0a132059f915b2a0bf0c214c026bd167c68bfa
tree156fa4372a9f981d1a60e0d21057f672fbc71966
parent8f2b81ac68b4fd5401c025550e625da5d3db873a
net: Fix vti use case with oif in dst lookups for IPv6

It occurred to me yesterday that c6b9b8dbeec12 ("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 c8e929e63932 did not the IPv6 change at the time it was
submitted.

Fixes: 4fb8ab9aa1a2 ("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