aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2017-09-04 08:59:55 +0000
committerSteffen Klassert <[email protected]>2017-09-11 08:36:51 +0000
commit67a63387b1417b5954eedb15f638f1f0bee3da49 (patch)
tree0e8e662a925704338f1ba7dc2e90d3d1c1fb81ba /fs/proc/array.c
parentxfrm: Fix deletion of offloaded SAs on failure. (diff)
downloadkernel-67a63387b1417b5954eedb15f638f1f0bee3da49.tar.gz
kernel-67a63387b1417b5954eedb15f638f1f0bee3da49.zip
xfrm: Fix negative device refcount on offload failure.
Reset the offload device at the xfrm_state if the device was not able to offload the state. Otherwise we drop the device refcount twice. Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Reported-by: Shannon Nelson <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions