ovpn: assorted cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ovpn: use the right RCU primitive in ovpn_crypto_kill_keydrivers/ | +4 | 0 replies | |
| 2/3 | ovpn: correct kdoc return statement in ovpn_udp_outputdrivers/ | +1 | 0 replies | |
| 3/3 | ovpn: drop redundant workqueue_struct forward declarationdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Openvpn-devel] [PATCH ovpn net-next 0/3] ovpn: assorted cleanups
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
Signature · 8 lines
2.56.0 _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel