pull request: ovpn 2026-09-22
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ovpn: Fix the return value in ovpn_bind_from_sockaddr() kernel-docdrivers/ | +1 | 0 replies | |
| 2/5 | ovpn: remove unused work field from struct ovpn_socketdrivers/ | +0 | 0 replies | |
| 3/5 | ovpn: remove redundant peer NULL checks in crypto post functionsdrivers/ | +2 | 0 replies | |
| 4/5 | selftests: ovpn: enable TCP_NODELAY on TCP socketstools/ tools/ tools/ | +56 | 1 reply | |
| 5/5 | ovpn: send peer object along with PEER_DEL_NTFdrivers/ tools/ tools/ +15 more | +112 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/5] pull request: ovpn 2026-09-22
Hi all!
Here is a small batch of ovpn changes for net-next, collected over the past weeks. Most of it went through sashiko pre-review on openvpn-devel.
The bulk is cleanup: an unused work field goes away from struct ovpn_socket, the redundant peer NULL checks in the crypto completion helpers are dropped, and the documented return value of ovpn_bind_from_sockaddr() is corrected.
On top of that, PEER_DEL_NTF now carries a peer snapshot in the same format returned by PEER_GET. Userspace needs the final counters of a disconnecting peer and so far had to issue a PEER_GET for every notification; when many peers drop at once those extra transactions overlap with notification processing on the same socket and can surface transient netlink errors (peers disappear in the meantime). Carrying the counters in the notification removes that round trip and errors.
Finally, the selftests enable TCP_NODELAY on ovpn-cli's TCP sockets, to match what userspace does by default. Since TCP does not preserve record boundaries, the capture-based peer ID check is restricted to UDP.
Note that the fixes I sent for net on Sep 21st ("pull request: fixes for ovpn 2026-09-21") touch four of the same files, but the two series do not conflict: I verified that they merge cleanly in either order and that the resulting tree is identical both ways. The two pull requests can therefore be merged in any order.
Please pull or let me know of any issue!
Thanks a lot,
Antonio
The following changes since commit 114bd09838ac6954baaf110aebc4d5503057f88a:
net: hip04: use 16-bit byte order for HI13X1 TX fields (2026-09-21 17:30:19 -0700)
are available in the Git repository at:
https://github.com/OpenVPN/ovpn-net-next.git ovpn-net-next-20260922
for you to fetch changes up to bdeec4b3a279a6ace7a0ad506b04df266d9bd43d:
ovpn: send peer object along with PEER_DEL_NTF (2026-09-22 02:37:40 +0200)
----------------------------------------------------------------
Included changes:
* include the peer object in the PEER_DEL notification
* enable TCP_NODELAY on TCP sockets in selftests
* drop redundant peer NULL checks in the crypto post functions
* remove the unused work field from struct ovpn_socket
* fix the documented return value of ovpn_bind_from_sockaddr()
----------------------------------------------------------------
Karl Mehltretter (1):
ovpn: Fix the return value in ovpn_bind_from_sockaddr() kernel-doc
Marco Baffo (2):
ovpn: remove redundant peer NULL checks in crypto post functions
selftests: ovpn: enable TCP_NODELAY on TCP sockets
Ralf Lici (2):
ovpn: remove unused work field from struct ovpn_socket
ovpn: send peer object along with PEER_DEL_NTF
drivers/net/ovpn/bind.c | 2 +- drivers/net/ovpn/io.c | 6 +-- drivers/net/ovpn/netlink.c | 60 +++++++++++++--------- drivers/net/ovpn/socket.h | 2 - tools/testing/selftests/net/ovpn/common.sh | 59 +++++++++++++++------ .../selftests/net/ovpn/json/peer0-float.json | 12 ++--- .../selftests/net/ovpn/json/peer0-symm-float.json | 10 +++- .../selftests/net/ovpn/json/peer0-symm.json | 7 ++- tools/testing/selftests/net/ovpn/json/peer0.json | 12 ++--- .../selftests/net/ovpn/json/peer1-symm.json | 2 +- tools/testing/selftests/net/ovpn/json/peer1.json | 2 +- .../selftests/net/ovpn/json/peer2-symm.json | 2 +- tools/testing/selftests/net/ovpn/json/peer2.json | 2 +- .../selftests/net/ovpn/json/peer3-symm.json | 2 +- tools/testing/selftests/net/ovpn/json/peer3.json | 2 +- .../selftests/net/ovpn/json/peer4-symm.json | 2 +- tools/testing/selftests/net/ovpn/json/peer4.json | 2 +- .../selftests/net/ovpn/json/peer5-symm.json | 2 +- tools/testing/selftests/net/ovpn/json/peer5.json | 2 +- .../selftests/net/ovpn/json/peer6-symm.json | 2 +- tools/testing/selftests/net/ovpn/json/peer6.json | 2 +- tools/testing/selftests/net/ovpn/ovpn-cli.c | 22 ++++++++ tools/testing/selftests/net/ovpn/test.sh | 54 +++++++++---------- 23 files changed, 171 insertions(+), 99 deletions(-) mode change 120000 => 100644 tools/testing/selftests/net/ovpn/json/peer0-symm-float.json mode change 120000 => 100644 tools/testing/selftests/net/ovpn/json/peer0-symm.json