diff options
| author | Leon Romanovsky <[email protected]> | 2022-05-05 10:06:40 +0000 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2022-05-06 06:29:28 +0000 |
| commit | 87e0a94e60ea2e29be9dec6bc146fbc9861a4055 (patch) | |
| tree | 3d1890935faa3a7fcba9c3580d407733b23f7595 /net/xfrm/xfrm_user.c | |
| parent | xfrm: delete not used number of external headers (diff) | |
| download | kernel-87e0a94e60ea2e29be9dec6bc146fbc9861a4055.tar.gz kernel-87e0a94e60ea2e29be9dec6bc146fbc9861a4055.zip | |
xfrm: rename xfrm_state_offload struct to allow reuse
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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
| -rw-r--r-- | net/xfrm/xfrm_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 64fa8fdd6bbd..7217c57a76e9 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -840,7 +840,7 @@ static int copy_sec_ctx(struct xfrm_sec_ctx *s, struct sk_buff *skb) return 0; } -static int copy_user_offload(struct xfrm_state_offload *xso, struct sk_buff *skb) +static int copy_user_offload(struct xfrm_dev_offload *xso, struct sk_buff *skb) { struct xfrm_user_offload *xuo; struct nlattr *attr; |
