Files
linux-stable-mirror/include/net
David Ahern 760852df57 net: Handle l3mdev in ip_tunnel_init_flow
commit db53cd3d88 upstream.

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: 40867d74c3 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-17 15:12:01 +02:00
..
2023-06-14 11:13:02 +02:00
2024-10-17 15:12:00 +02:00
2023-08-11 15:13:54 +02:00