kernel_samsung_a53x/net/xfrm
David Ahern 40dbfea1fd xfrm: Pass flowi_oif or l3mdev as oif to xfrm_dst_lookup
commit 748b82c23e25310fec54e1eff2cb63936f391b24 upstream.

The commit referenced in the Fixes tag no longer changes the
flow oif to the l3mdev ifindex. A xfrm use case was expecting
the flowi_oif to be the VRF if relevant and the change broke
that test. Update xfrm_bundle_create to pass oif if set and any
potential flowi_l3mdev if oif is not set.

Fixes: 40867d74c374 ("net: Add l3mdev index to flow struct and avoid oif reset for port devices")
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:53 +01:00
..
espintcp.c 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
xfrm_algo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_compat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_hash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_hash.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_inout.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_input.c xfrm: Preserve vlan tags for transport mode software GRO 2024-11-19 11:32:45 +01:00
xfrm_interface_core.c Revert "xfrm: interface: use DEV_STATS_INC()" 2024-11-17 19:38:50 +01:00
xfrm_ipcomp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_output.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_policy.c xfrm: Pass flowi_oif or l3mdev as oif to xfrm_dst_lookup 2024-11-23 23:21:53 +01:00
xfrm_proc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_replay.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_state.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_sysctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm_user.c xfrm: Avoid clang fortify warning in copy_to_user_tmpl() 2024-11-19 09:22:38 +01:00