Skip to content

ovpn: pull request for net-next: ovpn 2025-05-15

Antonio Quartulli netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10MAINTAINERS: add Sabrina as official reviewer for ovpnMAINTAINERS+1 -00 repliesApplied
2/10MAINTAINERS: update git URL for ovpnMAINTAINERS+1 -10 repliesApplied
3/10ovpn: set skb->ignore_df = 1 before sending IPv6 packets outdrivers/net/ovpn/udp.c+10 -00 repliesApplied
4/10ovpn: don't drop skb's dst when xmitting packetdrivers/net/ovpn/io.c drivers/net/ovpn/main.c+7 -00 repliesApplied
5/10selftest/net/ovpn: fix crash in case of getaddrinfo() failuretools/testing/selftests/net/ovpn/ovpn-cli.c+8 -20 repliesApplied
6/10ovpn: fix ndo_start_xmit return value on errordrivers/net/ovpn/io.c+1 -10 repliesApplied
7/10selftest/net/ovpn: extend coverage with more test casestools/testing/selftests/net/ovpn/Makefile tools/testing/selftests/net/ovpn/common.sh tools/testing/selftests/net/ovpn/ovpn-cli.c +2 more+34 -110 repliesApplied
8/10ovpn: drop useless reg_state check in keepalive workerdrivers/net/ovpn/peer.c+1 -20 repliesApplied
9/10ovpn: improve 'no route to host' debug messagedrivers/net/ovpn/io.c drivers/net/ovpn/peer.c+13 -30 repliesApplied
10/10ovpn: fix check for skb_to_sgvec_nomark() return valuedrivers/net/ovpn/crypto_aead.c+12 -60 repliesApplied

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchSabrina DubrocaAndrew LunnGert Doering
1/10A-b R-b
2/10
3/10T-b A-b
4/10T-b A-b
5/10
6/10T-b A-b
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 00/10] ovpn: pull request for net-next: ovpn 2025-05-15

Hi Jakub,

this is a new version of the previous pull request. These time I have removed the fixes that we are still discussing, so that we don't hold the entire series back.

There is a new fix though: it's about properly checking the return value of skb_to_sgvec_nomark(). I spotted the issue while testing pings larger than the iface's MTU on a TCP VPN connection.

I have added various Closes and Link tags where applicable, so that we have references to GitHub tickets and other public discussions.

Since I have resent the PR, I have also added Andrew's Reviewed-by to the first patch.

Please pull or let me know if something should be changed!

Thanks a lot,
Antonio

The following changes since commit 664bf117a30804b442a88a8462591bb23f5a0f22:

net: enetc: fix implicit declaration of function FIELD_PREP (2025-05-14 09:48:49 +0100)

are available in the Git repository at:

https://github.com/OpenVPN/ovpn-net-next.git tags/ovpn-net-next-20250515

for you to fetch changes up to 40d48527a587b5c2bd4b7ba00974732a93052cae:

ovpn: fix check for skb_to_sgvec_nomark() return value (2025-05-15 13:09:36 +0200)

----------------------------------------------------------------
Patchset highlights:
- update MAINTAINERS entry for ovpn
- extend selftest with more cases
- avoid crash in selftest in case of getaddrinfo() failure
- fix ndo_start_xmit return value on error
- set ignore_df flag for IPv6 packets
- drop useless reg_state check in keepalive worker
- retain skb's dst when entering xmit function
- fix check on skb_to_sgvec_nomark() return value

----------------------------------------------------------------
Antonio Quartulli (10):
MAINTAINERS: add Sabrina as official reviewer for ovpn
MAINTAINERS: update git URL for ovpn
ovpn: set skb->ignore_df = 1 before sending IPv6 packets out
ovpn: don't drop skb's dst when xmitting packet selftest/net/ovpn: fix crash in case of getaddrinfo() failure
ovpn: fix ndo_start_xmit return value on error selftest/net/ovpn: extend coverage with more test cases
ovpn: drop useless reg_state check in keepalive worker
ovpn: improve 'no route to host' debug message
ovpn: fix check for skb_to_sgvec_nomark() return value

 MAINTAINERS                                    |  3 ++-
 drivers/net/ovpn/crypto_aead.c                 | 18 ++++++++++++------
 drivers/net/ovpn/io.c                          | 18 +++++++++++++++---
 drivers/net/ovpn/main.c                        |  5 +++++
 drivers/net/ovpn/peer.c                        |  5 ++---
 drivers/net/ovpn/udp.c                         | 10 ++++++++++
 tools/testing/selftests/net/ovpn/Makefile      |  1 +
 tools/testing/selftests/net/ovpn/common.sh     | 18 +++++++++++++++++-
 tools/testing/selftests/net/ovpn/ovpn-cli.c    | 19 +++++++++++++------
 tools/testing/selftests/net/ovpn/test.sh       |  6 +++++-
 tools/testing/selftests/net/ovpn/udp_peers.txt | 11 ++++++-----
 11 files changed, 88 insertions(+), 26 deletions(-)