pull request: ovpn 2026-03-05
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | selftests: ovpn: allow compiling ovpn-cli.c with mbedtls3tools/ tools/ | +11 | 0 replies | |
| 2/9 | ovpn: use correct array size to parse nested attributes in ovpn_nl_key_swap_doitdrivers/ | +1 | 0 replies | |
| 3/9 | ovpn: pktid: use bitops.h APIdrivers/ drivers/ | +5 | 0 replies | |
| 4/9 | ovpn: notify userspace on client float eventDocumentation/ drivers/ drivers/ +3 more | +96 | 0 replies | |
| 5/9 | selftests: ovpn: add notification parsing and matchingtools/ tools/ tools/ +16 more | +121 | 7 replies | |
| 6/9 | ovpn: add support for asymmetric peer IDsDocumentation/ drivers/ drivers/ +5 more | +50 | 0 replies | |
| 7/9 | selftests: ovpn: check asymmetric peer-idtools/ tools/ tools/ +9 more | +97 | 2 replies | |
| 8/9 | selftests: ovpn: add test for the FW mark featuretools/ tools/ tools/ | +120 | 1 reply | |
| 9/9 | ovpn: consolidate crypto allocations in one chunkdrivers/ drivers/ drivers/ | +135 | 0 replies |
Reviews trailers per patch
4 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Sabrina Dubroca |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | |
| 6/9 | R-b |
| 7/9 | |
| 8/9 | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/9] pull request: ovpn 2026-03-05
Hello netdev team!
This is a resend of the last PR.
We have fixed all the issues reported in patchwork (mostly style related) by the various tools.
The batch includes the following changes:
* use correct constant when declaring nlattr array in ovpn_nl_key_swap_doit
* use bitops.h API when possible
* send netlink notification in case of client float event
* implement support for asymmetric peer IDs
* consolidate memory allocations during crypto operations
* add netlink notification check in selftests
* add asymmetric peer IDs check in selftest
* add FW mark check in selftest
Please pull or let me know of any issue!
Thanks a lot.
Antonio,
The following changes since commit 4ad96a7c9e2cebbbdc68369438a736a133539f1d:
selftests: net: add macvlan multicast test for shared source MAC (2026-03-03 18:08:13 -0800)
are available in the Git repository at:
https://github.com/OpenVPN/ovpn-net-next.git tags/ovpn-net-next-20270304
for you to fetch changes up to afb7c5378b2a3858923351138887db73b7029d50:
ovpn: consolidate crypto allocations in one chunk (2026-03-05 00:04:25 +0100)
----------------------------------------------------------------
Included features:
* use bitops.h API when possible
* send netlink notification in case of client float event
* implement support for asymmetric peer IDs
* consolidate memory allocations during crypto operations
* add netlink notification check in selftests
* add FW mark check in selftest
----------------------------------------------------------------
Antonio Quartulli (1):
selftests: ovpn: allow compiling ovpn-cli.c with mbedtls3
Qingfang Deng (1):
ovpn: pktid: use bitops.h API
Ralf Lici (6):
ovpn: notify userspace on client float event
selftests: ovpn: add notification parsing and matching
ovpn: add support for asymmetric peer IDs
selftests: ovpn: check asymmetric peer-id
selftests: ovpn: add test for the FW mark feature
ovpn: consolidate crypto allocations in one chunk
Sabrina Dubroca (1):
ovpn: use correct array size to parse nested attributes in ovpn_nl_key_swap_doit
Documentation/netlink/specs/ovpn.yaml | 23 ++- drivers/net/ovpn/crypto_aead.c | 162 ++++++++++++++++----- drivers/net/ovpn/io.c | 8 +- drivers/net/ovpn/netlink-gen.c | 13 +- drivers/net/ovpn/netlink-gen.h | 6 +- drivers/net/ovpn/netlink.c | 98 ++++++++++++- drivers/net/ovpn/netlink.h | 2 + drivers/net/ovpn/peer.c | 6 + drivers/net/ovpn/peer.h | 4 +- drivers/net/ovpn/pktid.c | 11 +- drivers/net/ovpn/pktid.h | 2 +- drivers/net/ovpn/skb.h | 13 +- include/uapi/linux/ovpn.h | 2 + tools/testing/selftests/net/ovpn/Makefile | 15 +- .../selftests/net/ovpn/check_requirements.py | 47 ++++++ tools/testing/selftests/net/ovpn/common.sh | 55 +++++-- tools/testing/selftests/net/ovpn/data64.key | 6 +- .../selftests/net/ovpn/json/peer0-float.json | 9 ++ tools/testing/selftests/net/ovpn/json/peer0.json | 6 + .../selftests/net/ovpn/json/peer1-float.json | 1 + tools/testing/selftests/net/ovpn/json/peer1.json | 1 + .../selftests/net/ovpn/json/peer2-float.json | 1 + tools/testing/selftests/net/ovpn/json/peer2.json | 1 + .../selftests/net/ovpn/json/peer3-float.json | 1 + tools/testing/selftests/net/ovpn/json/peer3.json | 1 + .../selftests/net/ovpn/json/peer4-float.json | 1 + tools/testing/selftests/net/ovpn/json/peer4.json | 1 + .../selftests/net/ovpn/json/peer5-float.json | 1 + tools/testing/selftests/net/ovpn/json/peer5.json | 1 + .../selftests/net/ovpn/json/peer6-float.json | 1 + tools/testing/selftests/net/ovpn/json/peer6.json | 1 + tools/testing/selftests/net/ovpn/ovpn-cli.c | 80 +++++++--- tools/testing/selftests/net/ovpn/requirements.txt | 1 + tools/testing/selftests/net/ovpn/tcp_peers.txt | 11 +- .../selftests/net/ovpn/test-close-socket.sh | 2 +- tools/testing/selftests/net/ovpn/test-mark.sh | 95 ++++++++++++ tools/testing/selftests/net/ovpn/test.sh | 57 ++++++-- tools/testing/selftests/net/ovpn/udp_peers.txt | 12 +- 38 files changed, 628 insertions(+), 130 deletions(-) create mode 100755 tools/testing/selftests/net/ovpn/check_requirements.py create mode 100644 tools/testing/selftests/net/ovpn/json/peer0-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer0.json create mode 120000 tools/testing/selftests/net/ovpn/json/peer1-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer1.json create mode 120000 tools/testing/selftests/net/ovpn/json/peer2-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer2.json create mode 120000 tools/testing/selftests/net/ovpn/json/peer3-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer3.json create mode 120000 tools/testing/selftests/net/ovpn/json/peer4-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer4.json create mode 120000 tools/testing/selftests/net/ovpn/json/peer5-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer5.json create mode 120000 tools/testing/selftests/net/ovpn/json/peer6-float.json create mode 100644 tools/testing/selftests/net/ovpn/json/peer6.json create mode 120000 tools/testing/selftests/net/ovpn/requirements.txt create mode 100755 tools/testing/selftests/net/ovpn/test-mark.sh