netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/10] pull request for net-next: ovpn 2025-05-09
@ 2025-05-09 14:26 Antonio Quartulli
  2025-05-09 14:26 ` [PATCH net-next 01/10] MAINTAINERS: add Sabrina as official reviewer for ovpn Antonio Quartulli
                   ` (10 more replies)
  0 siblings, 11 replies; 33+ messages in thread
From: Antonio Quartulli @ 2025-05-09 14:26 UTC (permalink / raw)
  To: netdev
  Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Sabrina Dubroca,
	Antonio Quartulli

Hi Jakub,

here is my first pull request for the ovpn kernel module!

As you can see in the patches, we have various tags from
Gert Döring, the main maintainer of openvpn userspace,
who was eager to test and report malfunctionings.
He reported bugs, stared at fixes and tested them, hence
the Reported/Acked/Tested-by tags. If you think such
combination of tags is not truly appropriate, please let
me know.

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

Thanks a lot,
Antonio


The following changes since commit 3e52667a9c328b3d1a1ddbbb6b8fbf63a217bda3:

  Merge branch 'lan78xx-phylink-prep' (2025-05-07 12:57:06 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 476148af4e28f498bf769eeed81ef99728544c56:

  ovpn: ensure sk is still valid during cleanup (2025-05-09 15:37:31 +0200)

----------------------------------------------------------------
This patchset contains the following:
- update MAINTAINERS entry for ovpn
- extend selftest with more cases
- fix ndo_start_xmit return value on error
- set ignore_df flag for IPv6 packets
- drop useless reg_state check in keepalive worker
- avoid crash during concurrent peer timeout and iface deletion

----------------------------------------------------------------
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: ensure sk is still valid during cleanup

 MAINTAINERS                                    |  3 ++-
 drivers/net/ovpn/io.c                          | 18 +++++++++++++++---
 drivers/net/ovpn/main.c                        |  5 +++++
 drivers/net/ovpn/peer.c                        |  5 ++---
 drivers/net/ovpn/socket.c                      | 21 ++++++++++++---------
 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(+), 29 deletions(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread
* [PATCH net-next 00/10] ovpn: pull request for net-next: ovpn 2025-05-15
@ 2025-05-15 11:13 Antonio Quartulli
  2025-05-15 11:13 ` [PATCH net-next 01/10] MAINTAINERS: add Sabrina as official reviewer for ovpn Antonio Quartulli
  0 siblings, 1 reply; 33+ messages in thread
From: Antonio Quartulli @ 2025-05-15 11:13 UTC (permalink / raw)
  To: netdev; +Cc: Antonio Quartulli, edumazet, kuba, pabeni, sd

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(-)

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2025-05-19 11:20 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 14:26 [PATCH net-next 00/10] pull request for net-next: ovpn 2025-05-09 Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 01/10] MAINTAINERS: add Sabrina as official reviewer for ovpn Antonio Quartulli
2025-05-09 14:34   ` Andrew Lunn
2025-05-12  8:22     ` Antonio Quartulli
2025-05-13  1:17       ` Jakub Kicinski
2025-05-09 14:26 ` [PATCH net-next 02/10] MAINTAINERS: update git URL " Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 03/10] ovpn: set skb->ignore_df = 1 before sending IPv6 packets out Antonio Quartulli
2025-05-13  7:37   ` Paolo Abeni
2025-05-13  7:49     ` Gert Doering
2025-05-13  7:51     ` Antonio Quartulli
2025-05-13  8:51       ` Paolo Abeni
2025-05-13  9:01         ` Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 04/10] ovpn: don't drop skb's dst when xmitting packet Antonio Quartulli
2025-05-13  7:45   ` Paolo Abeni
2025-05-13  7:54     ` Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 05/10] selftest/net/ovpn: fix crash in case of getaddrinfo() failure Antonio Quartulli
2025-05-13  7:48   ` Paolo Abeni
2025-05-13  8:02     ` Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 06/10] ovpn: fix ndo_start_xmit return value on error Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 07/10] selftest/net/ovpn: extend coverage with more test cases Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 08/10] ovpn: drop useless reg_state check in keepalive worker Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 09/10] ovpn: improve 'no route to host' debug message Antonio Quartulli
2025-05-13  7:53   ` Paolo Abeni
2025-05-13  8:04     ` Antonio Quartulli
2025-05-09 14:26 ` [PATCH net-next 10/10] ovpn: ensure sk is still valid during cleanup Antonio Quartulli
2025-05-13  1:37   ` Jakub Kicinski
2025-05-13  8:21     ` Paolo Abeni
2025-05-13  9:19       ` Antonio Quartulli
2025-05-13 14:55         ` Antonio Quartulli
2025-05-09 14:40 ` [PATCH net-next 00/10] pull request for net-next: ovpn 2025-05-09 Andrew Lunn
2025-05-09 14:55   ` Antonio Quartulli
  -- strict thread matches above, loose matches on Subject: below --
2025-05-15 11:13 [PATCH net-next 00/10] ovpn: pull request for net-next: ovpn 2025-05-15 Antonio Quartulli
2025-05-15 11:13 ` [PATCH net-next 01/10] MAINTAINERS: add Sabrina as official reviewer for ovpn Antonio Quartulli
2025-05-19 11:20   ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).