Thread (14 messages) 14 messages, 3 authors, 2021-03-31

Re: [PATCH net-next v3 4/8] udp: never accept GSO_FRAGLIST packets

flat view

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2021-03-30 15:15:40

On Tue, Mar 30, 2021 at 6:30 AM Paolo Abeni [off-list ref] wrote:
Currently the UDP protocol delivers GSO_FRAGLIST packets to
the sockets without the expected segmentation.

This change addresses the issue introducing and maintaining
a couple of new fields to explicitly accept SKB_GSO_UDP_L4
or GSO_FRAGLIST packets. Additionally updates  udp_unexpected_gso()
accordingly.

UDP sockets enabling UDP_GRO stil keep accept_udp_fraglist
zeroed.

v1 -> v2:
 - use 2 bits instead of a whole GSO bitmask (Willem)

Fixes: 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help