Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Simon Horman
Tue, 03 Nov 2026 12:44
Re: [PATCH net v4 2/4] net: gso: count the inner UDP header of encapsulated UDP GSO packets
Author: Simon Horman
Date: Tue, 03 Nov 2026 12:44
Date: Tue, 03 Nov 2026 12:44
16 lines
8672 bytes
8672 bytes
On Sun, Nov 01, 2026 at 05:42:30PM +0100, Julius Bairaktaris wrote:
> skb_gso_transport_seglen() adds the inner TCP header length for an
> encapsulated GSO packet, but not the inner UDP header for
> SKB_GSO_UDP_L4, whose gso_size covers the payload only. Every segment
> of a UDP GSO packet in a UDP tunnel, built by UDP GRO behind a tunnel
> socket or sent with UDP_SEGMENT over VXLAN, is counted 8 bytes short.
> ip_forward() and ip_finish_output_gso() then let DF segments that
> exceed the MTU by up to 8 bytes leave unfragmented.
>
> Add the inner UDP header as the unencapsulated branch does.
>
> Fixes: ee80d1ebe5ba ("udp: add udp gso")
> Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Re: [PATCH net v4 2/4] net: gso: count the inner UDP header of encapsulated UDP GSO packets
Author: Eric Dumazet
Date: Tue, 03 Nov 2026 13:08
Date: Tue, 03 Nov 2026 13:08
21 lines
10020 bytes
10020 bytes
Le mar. 3 nov. 2026 ร 13:44, Simon Horman <horms@kernel.org> a รฉcrit :
>
> On Sun, Nov 01, 2026 at 05:42:30PM +0100, Julius Bairaktaris wrote:
> > skb_gso_transport_seglen() adds the inner TCP header length for an
> > encapsulated GSO packet, but not the inner UDP header for
> > SKB_GSO_UDP_L4, whose gso_size covers the payload only. Every segment
> > of a UDP GSO packet in a UDP tunnel, built by UDP GRO behind a tunnel
> > socket or sent with UDP_SEGMENT over VXLAN, is counted 8 bytes short.
> > ip_forward() and ip_finish_output_gso() then let DF segments that
> > exceed the MTU by up to 8 bytes leave unfragmented.
> >
> > Add the inner UDP header as the unencapsulated branch does.
> >
> > Fixes: ee80d1ebe5ba ("udp: add udp gso")
> > Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
>
> Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@kernel.org>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads