]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfrm: rename xfrm_state_offload struct to allow reuse
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 5 May 2022 10:06:40 +0000 (13:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:50:54 +0000 (19:50 +0100)
commite4426baa9aa3a485c4fea4909b34c1d562dccba7
tree3991dd105fa5adbcadf6c69bc76b6d6a2cfb43bc
parentded61e552767dd9845cdaf7ca8512f31a869f5a3
xfrm: rename xfrm_state_offload struct to allow reuse

[ Upstream commit 87e0a94e60ea2e29be9dec6bc146fbc9861a4055 ]

The struct xfrm_state_offload has all fields needed to hold information
for offloaded policies too. In order to do not create new struct with
same fields, let's rename existing one and reuse it later.

Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Stable-dep-of: 2cf567f421db ("netdevsim: copy addresses for both in and out paths")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/xfrm.h
net/xfrm/xfrm_device.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c