]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfrm: Use xdo.dev instead of xdo.real_dev
authorCosmin Ratiu <cratiu@nvidia.com>
Fri, 11 Apr 2025 07:49:54 +0000 (10:49 +0300)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 16 Apr 2025 09:01:19 +0000 (11:01 +0200)
commit25ac138f58e7d5c8bffa31e8891418d2819180c4
tree029291888039d5d3ae3266500ec7aa853ee896f3
parentd79444e8c3d40b11f5e155e5591d53bd1e512e1f
xfrm: Use xdo.dev instead of xdo.real_dev

The policy offload struct was reused from the state offload and
real_dev was copied from dev, but it was never set to anything else.
Simplify the code by always using xdo.dev for policies.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
net/xfrm/xfrm_device.c
net/xfrm/xfrm_state.c