Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Simon Horman
Tue, 03 Nov 2026 12:44
Re: [PATCH net v4 4/4] ipmr: do not drop GSO packets that fit the MTU after segmentation
Author: Simon Horman
Date: Tue, 03 Nov 2026 12:44
Date: Tue, 03 Nov 2026 12:44
19 lines
8869 bytes
8869 bytes
On Sun, Nov 01, 2026 at 05:42:32PM +0100, Julius Bairaktaris wrote:
> ipmr_prepare_xmit() drops a packet with DF set when skb->len exceeds the
> route MTU, without checking whether it is a GSO packet. A UDP multicast
> stream received with fraglist GRO or UDP GRO forwarding enabled is
> aggregated into GSO packets, and every aggregate is dropped with
> FragFails, while ip_forward() lets the same packets pass by checking
> skb_gso_validate_network_len(). Do the same for multicast routing,
> leaving room for the outer header on tunnel vifs. ip6mr has no such
> check and leaves GSO packets to ip6_output().
>
> On an IPQ8074 router with fraglist GRO on, a 10 Mbit/s stream of
> 1316-byte DF datagrams routed by igmpproxy loses 14.5 to 15.5% (n=3)
> and 0% with this change.
>
> Fixes: 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.")
> Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Re: [PATCH net v4 4/4] ipmr: do not drop GSO packets that fit the MTU after segmentation
Author: Eric Dumazet
Date: Tue, 03 Nov 2026 13:15
Date: Tue, 03 Nov 2026 13:15
25 lines
10243 bytes
10243 bytes
Le mar. 3 nov. 2026 ร 13:44, Simon Horman <horms@kernel.org> a รฉcrit :
>
> On Sun, Nov 01, 2026 at 05:42:32PM +0100, Julius Bairaktaris wrote:
> > ipmr_prepare_xmit() drops a packet with DF set when skb->len exceeds the
> > route MTU, without checking whether it is a GSO packet. A UDP multicast
> > stream received with fraglist GRO or UDP GRO forwarding enabled is
> > aggregated into GSO packets, and every aggregate is dropped with
> > FragFails, while ip_forward() lets the same packets pass by checking
> > skb_gso_validate_network_len(). Do the same for multicast routing,
> > leaving room for the outer header on tunnel vifs. ip6mr has no such
> > check and leaves GSO packets to ip6_output().
> >
> > On an IPQ8074 router with fraglist GRO on, a 10 Mbit/s stream of
> > 1316-byte DF datagrams routed by igmpproxy loses 14.5 to 15.5% (n=3)
> > and 0% with this change.
> >
> > Fixes: 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/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