Skip to content

pull request: fixes for ovpn 2026-04-29

Antonio Quartulli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ovpn: reset MAC header before passing skb updrivers/net/ovpn/io.c+1 -00 replies
2/2ovpn: ensure gro_cells_receive() is invoked with BH disableddrivers/net/ovpn/io.c+6 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] pull request: fixes for ovpn 2026-04-29

Hello netdev team,

here are two fixes for ovpn.

Patch 1 fixes the inconsistent call context for gro_cells_receive(). On a TCP connection, we can end up calling gro_cells_receive() from process context, which is unexpected (and could potentially trigger deadlocks). For this reason we're wrapping the aforementioned call within local_bh_disable/enable().

Patch 2 is ensuring that the MAC header offset is reset before deliering the packet to the upper layer. Not doing so could trick other parts of the networking stack into wrong calculations.

On a side note, the bug being fixed by patch 1 was also recently reported by the netdev CI.
We still got some spurious TCP failures that we are tracking down.

Please pull or let me know of any issue.

Thanks,
Antonio

The following changes since commit 3bc179bc7146c26c9dff75d2943d10528274e301:

netpoll: fix IPv6 local-address corruption (2026-04-27 19:16:18 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 39b17bb8b1ce3ba488d81db31916aacd5803b18f:

ovpn: ensure gro_cells_receive() is invoked with BH disabled (2026-04-29 11:33:43 +0200)

----------------------------------------------------------------
Includes changes:
* ensure gro_cells_receive() is called with BH disabled
* ensure MAC header offset is reset before delivering packet

----------------------------------------------------------------
Qingfang Deng (1):
ovpn: reset MAC header before passing skb up

Ralf Lici (1):
ovpn: ensure gro_cells_receive() is invoked with BH disabled

 drivers/net/ovpn/io.c | 7 +++++++
 1 file changed, 7 insertions(+)