Re: [Openvpn-devel] [PATCH ovpn-net-next] ovpn: reset GSO metadata after decapsulation

2025-07-01 Thread Antonio Quartulli
Hi, On 01/07/2025 15:51, Gert Doering wrote: Hi On Tue, Jul 01, 2025 at 02:47:44PM +0200, Ralf Lici wrote: By calling skb_gso_reset(skb) we ensure the inner packet is presented to gro_cells_receive() with a clean slate, correctly indicating it is an individual packet from the perspective of th

Re: [Openvpn-devel] [PATCH ovpn-net-next] ovpn: reset GSO metadata after decapsulation

2025-07-01 Thread Gert Doering
Hi On Tue, Jul 01, 2025 at 02:47:44PM +0200, Ralf Lici wrote: > By calling skb_gso_reset(skb) we ensure the inner packet is presented to > gro_cells_receive() with a clean slate, correctly indicating it is an > individual packet from the perspective of the local stack. Amazing find. I have teste

[Openvpn-devel] [PATCH ovpn-net-next] ovpn: reset GSO metadata after decapsulation

2025-07-01 Thread Ralf Lici
The ovpn_netdev_write() function is responsible for injecting decapsulated and decrypted packets back into the local network stack. Prior to this change, the skb could retain GSO metadata from the outer, encrypted tunnel packet. This original GSO metadata, relevant to the sender's context for the t