]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge tag 'ovpn-net-20260809' of https://github.com/OpenVPN/ovpn-net-next
authorJakub Kicinski <kuba@kernel.org>
Thu, 13 Aug 2026 01:09:18 +0000 (18:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Aug 2026 01:09:18 +0000 (18:09 -0700)
Antonio Quartulli says:

====================
Included fixes:

* release key slot crypto transforms from a workqueue rather than an RCU
  callback, because crypto_free_aead() may sleep with async or hardware
  implementations
* run all deferred ovpn work on a module-owned workqueue and drain it on
  module exit, so no work item can still be executing module text after
  the module is unloaded
* finish crypto callback cleanup (key slot release and leftover skb)
  before dropping the peer reference that gates netdev unregistration
  and module removal
* avoid dereferencing a NULL key slot when userspace asks to kill a key
  that is not installed on the peer

* tag 'ovpn-net-20260809' of https://github.com/OpenVPN/ovpn-net-next:
  ovpn: defer key slot crypto freeing to workqueue
  ovpn: run deferred work on a module-owned workqueue
  ovpn: finish crypto callback cleanup before peer release
  ovpn: fix NULL dereference when killing missing key
====================

Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260809212142.2249027-1-antonio@openvpn.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge