David Ahern db53cd3d88 net: Handle l3mdev in ip_tunnel_init_flow
Ido reported that the commit referenced in the Fixes tag broke
a gre use case with dummy devices. Add a check to ip_tunnel_init_flow
to see if the oif is an l3mdev port and if so set the oif to 0 to
avoid the oif comparison in fib_lookup_good_nhc.

Fixes: 40867d74c374 ("net: Add l3mdev index to flow struct and avoid oif reset for port devices")
Reported-by: Ido Schimmel <idosch@idosch.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-04-15 14:27:30 -07:00
..
2022-03-04 12:02:19 +00:00
2022-03-21 18:33:57 -07:00
2022-03-06 11:05:31 +00:00
2022-03-24 13:13:26 -07:00
2022-03-16 08:47:02 -07:00
2022-03-01 08:38:01 +00:00
2022-03-31 13:57:15 -07:00