Hi,

This series collects three small cleanups with no functional change.

Patch 1 uses rcu_dereference_protected instead of rcu_access_pointer in
ovpn_crypto_kill_key, as the slot pointers are dereferenced under the
update-side lock.

Patch 2 corrects the kdoc of ovpn_udp_output: the skb is consumed only
on success, as the caller frees it when an error is returned.

Patch 3 drops a redundant forward declaration of struct workqueue_struct
that was added together with ovpn_wq.

Patches 1 and 2 link to the Sashiko reports that flagged them.

Thanks,

Ralf Lici
Mandelbit Srl

---
Ralf Lici (3):
  ovpn: use the right RCU primitive in ovpn_crypto_kill_key
  ovpn: correct kdoc return statement in ovpn_udp_output
  ovpn: drop redundant workqueue_struct forward declaration

 drivers/net/ovpn/crypto.c   | 6 ++++--
 drivers/net/ovpn/ovpnpriv.h | 2 --
 drivers/net/ovpn/udp.c      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)


base-commit: 7ccc5e05043b1bb84326b19a2b05938d8f7a2ae6
-- 
2.56.0



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to