Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Willem de Bruijn
Wed, 21 Oct 2026 16:08
Re: [PATCH net v4 2/7] um: vector: trim skbs before verifying the header
Author: Willem de Bruijn
Date: Wed, 21 Oct 2026 16:08
Date: Wed, 21 Oct 2026 16:08
15 lines
12290 bytes
12290 bytes
Michael S. Tsirkin wrote: > The vector receive path over-allocates the skb and only trims it > to the received length after the transport header is verified. > > A follow up patch will complete the packet checksum in software within > virtio_net_hdr_to_skb so we need the packet trimmed (otherwise the > checksum would be computed incorrectly over the unreceived tail of the > buffer). > > Trim first, so the import sees the packet as it was received. > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Willem de Bruijn <willemb@google.com>
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