Skip to content
Snippets Groups Projects
Commit 76ff31c0 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Greg Kroah-Hartman
Browse files

xfrm: store and rely on direction to construct offload flags


[ Upstream commit 482db2f1 ]

XFRM state doesn't need anything from flags except to understand
direction, so store it separately. For future patches, such change
will allow us to reuse xfrm_dev_offload for policy offload too, which
has three possible directions instead of two.

Reviewed-by: default avatarRaed Salem <raeds@nvidia.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Stable-dep-of: 2cf567f4 ("netdevsim: copy addresses for both in and out paths")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 837f37f0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment