OpenCloudOS-Kernel/drivers/net/ethernet/mellanox
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: 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>
2022-04-15 14:27:30 -07:00
..
mlx4 net/mlx4_en: use kzalloc 2022-03-14 13:15:28 -07:00
mlx5/core Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
mlxbf_gige ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
mlxfw devlink: Reduce struct devlink exposure 2021-10-12 16:29:16 -07:00
mlxsw net: Handle l3mdev in ip_tunnel_init_flow 2022-04-15 14:27:30 -07:00
Kconfig Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00
Makefile Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00