summaryrefslogtreecommitdiff
path: root/crypto/aegis-neon.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2024-06-20 08:47:24 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2024-06-25 10:02:55 +0200
commit07b87f9eea0c30675084d50c82532d20168da009 (patch)
tree128673010004e4c21a816d38d32402b60f782725 /crypto/aegis-neon.h
parent15f5fe9e84839dcc9eaa69b08ced9d24cb464369 (diff)
downloadlwn-07b87f9eea0c30675084d50c82532d20168da009.tar.gz
lwn-07b87f9eea0c30675084d50c82532d20168da009.zip
xfrm: Fix unregister netdevice hang on hardware offload.
When offloading xfrm states to hardware, the offloading device is attached to the skbs secpath. If a skb is free is deferred, an unregister netdevice hangs because the netdevice is still refcounted. Fix this by removing the netdevice from the xfrm states when the netdevice is unregistered. To find all xfrm states that need to be cleared we add another list where skbs linked to that are unlinked from the lists (deleted) but not yet freed. Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'crypto/aegis-neon.h')
0 files changed, 0 insertions, 0 deletions