diff options
| author | Mathias Krause <[email protected]> | 2018-11-21 21:09:23 +0100 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2018-11-23 07:51:32 +0100 |
| commit | 4a135e538962cb00a9667c82e7d2b9e4d7cd7177 (patch) | |
| tree | ebbf0cd2aec6fe1a4c01fd871f5b3263a50711b0 /tools/perf/scripts | |
| parent | 0152eee6fc3b84298bb6a79961961734e8afa5b8 (diff) | |
xfrm_user: fix freeing of xfrm states on acquire
Commit 565f0fa902b6 ("xfrm: use a dedicated slab cache for struct
xfrm_state") moved xfrm state objects to use their own slab cache.
However, it missed to adapt xfrm_user to use this new cache when
freeing xfrm states.
Fix this by introducing and make use of a new helper for freeing
xfrm_state objects.
Fixes: 565f0fa902b6 ("xfrm: use a dedicated slab cache for struct xfrm_state")
Reported-by: Pan Bian <[email protected]>
Cc: <[email protected]> # v4.18+
Signed-off-by: Mathias Krause <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions