You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xfrm: Cache used outbound xfrm states at the policy.
BugLink: https://bugs.launchpad.net/bugs/2103829
[ Upstream commit 0045e3d80613cc7174dc15f189ee6fc4e73b9365 ]
Now that we can have percpu xfrm states, the number of active
states might increase. To get a better lookup performance,
we cache the used xfrm states at the policy for outbound
IPsec traffic.
Signed-off-by: Steffen Klassert <[email protected]>
Tested-by: Antony Antony <[email protected]>
Tested-by: Tobias Brunner <[email protected]>
Stable-dep-of: e952837f3ddb ("xfrm: state: fix out-of-bounds read during lookup")
Signed-off-by: Sasha Levin <[email protected]>
[nwager: Drop hunk #2 due to missing commit:
17163f23678c ("xfrm: minor update to sdb and xfrm_policy comments")
and context change in hunk #4 due to missing commit:
a54ad727f745 ("xfrm: policy: remove remaining use of inexact list").
I am keeping this change despite the backport effort becuase the
Stable-dep-of commit fixes an in-tree patch.]
Signed-off-by: Noah Wager <[email protected]>
Signed-off-by: Mehmet Basaran <[email protected]>
0 commit comments