[PATCH net 0/3] pull request: ovpn for net 2025-07-03

Antonio Quartulli
2025-07-03T11:45:59Z

Hi netdev-team,

In this batch you can find the following bug fixes:

Patch 1: make sure to propagate any socket FW mark set by userspace
(via SO_MARK) to skbs being sent over that socket.

Patch 2: reject netlink PEER_NEW/SET messages if the read-only attribute
OVPN_A_PEER_LOCAL_PORT was specified.

Patch 3: reset the skb's GSO state when moving a packet from transport
to tunnel layer.

Please pull or let me know of any issue!

Thanks a lot.
Antonio,

The following changes since commit 72fb83735c71e3f6f025ab7f5dbfec7c9e26b6cc:

Merge tag 'for-net-2025-06-27' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth (2025-06-30 18:58:47 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3d75827928ed01b548eb148f3292092bb07c6bcc:

ovpn: reset GSO metadata after decapsulation (2025-07-03 13:22:15 +0200)

----------------------------------------------------------------
This bugfix batch includes the following changes:
* properly propagate sk mark to skb->mark field
* reject read-only OVPN_A_PEER_LOCAL_PORT in PEER_NEW/SET
* reset GSO state when moving skb from transport to tunnel layer

----------------------------------------------------------------
Antonio Quartulli (1):
ovpn: explicitly reject netlink attr PEER_LOCAL_PORT in CMD_PEER_NEW/SET

Ralf Lici (2):
ovpn: propagate socket mark to skb in UDP
ovpn: reset GSO metadata after decapsulation

drivers/net/ovpn/io.c | 7 +++++++
drivers/net/ovpn/netlink.c | 11 +++++++++++
drivers/net/ovpn/udp.c | 1 +
3 files changed, 19 insertions(+)