kernel_samsung_a53x/drivers/net/ethernet/mellanox
David Ahern 2a0d334abb net: Handle l3mdev in ip_tunnel_init_flow
commit db53cd3d88dc328dea2e968c9c8d3b4294a8a674 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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:53 +01:00
..
mlx4 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mlx5/core net/mlx5: Added cond_resched() to crdump collection 2024-11-23 23:21:35 +01:00
mlxfw Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mlxsw net: Handle l3mdev in ip_tunnel_init_flow 2024-11-23 23:21:53 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00