kernel_samsung_a53x/drivers/net/ethernet/mellanox/mlxsw
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
..
cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.c mlxsw: core: Unregister EMAD trap using FORWARD action 2024-11-19 11:32:36 +01:00
core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_actions.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_actions.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_acl_flex_keys.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_env.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_env.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emad.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
item.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
minimal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
port.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
resources.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum1_acl_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum1_kvdl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum1_mr_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum2_acl_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum2_kvdl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum2_mr_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_atcam.c mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors 2024-11-23 23:20:07 +01:00
spectrum_acl_bloom_filter.c mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors 2024-11-23 23:20:07 +01:00
spectrum_acl_ctcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_erp.c mlxsw: spectrum_acl_erp: Fix object nesting warning 2024-11-23 23:20:07 +01:00
spectrum_acl_flex_actions.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_flex_actions.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_flex_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_acl_tcam.c mlxsw: spectrum_acl_tcam: Fix memory leak when canceling rehash work 2024-11-19 11:32:37 +01:00
spectrum_acl_tcam.h mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors 2024-11-23 23:20:07 +01:00
spectrum_buffers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_cnt.c mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable 2024-11-18 12:12:52 +01:00
spectrum_cnt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_dpipe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_dpipe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_fid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_flow.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_flower.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ipip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ipip.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_kvdl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_matchall.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr_tcam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_mr_tcam.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_nve.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_nve.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_nve_vxlan.c mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type 2024-11-08 11:25:45 +01:00
spectrum_policer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_qdisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_router.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_router.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_span.c net: Handle l3mdev in ip_tunnel_init_flow 2024-11-23 23:21:53 +01:00
spectrum_span.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_switchdev.c mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable 2024-11-18 12:12:52 +01:00
spectrum_switchdev.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_trap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectrum_trap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
switchib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
switchx2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
txheader.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00