Merge branch 'net-convert-ipv6_stub-to-ip6_dst_lookup_flow'
authorDavid S. Miller <davem@davemloft.net>
Wed, 4 Dec 2019 20:27:13 +0000 (12:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Dec 2019 20:27:13 +0000 (12:27 -0800)
commit7b3b209e61adf575faf21d08a47f6a842b7b0767
treef35ea6d60e5b15d2b0cb6bc8500849e6c9de2cfe
parent8ffb055beae58574d3e77b4bf9d4d15eace1ca27
parent6c8991f41546c3c472503dff1ea9daaddf9331c2
Merge branch 'net-convert-ipv6_stub-to-ip6_dst_lookup_flow'

Sabrina Dubroca says:

====================
net: convert ipv6_stub to ip6_dst_lookup_flow

Xiumei Mu reported a bug in a VXLAN over IPsec setup:

  IPv6 | ESP | VXLAN

Using this setup, packets go out unencrypted, because VXLAN over IPv6
gets its route from ipv6_stub->ipv6_dst_lookup (in vxlan6_get_route),
which doesn't perform an XFRM lookup.

This patchset first makes ip6_dst_lookup_flow suitable for some
existing users of ipv6_stub->ipv6_dst_lookup by adding a 'net'
argument, then converts all those users.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>