Re: [PATCH net v4 0/4] fixes two virtio-net related bugs.
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2025-10-30 08:03:05
Also in:
virtualization
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2025-10-30 08:03:05
Also in:
virtualization
On Wed, Oct 29, 2025 at 11:09:09AM +0800, Xuan Zhuo wrote:
As discussed in http://lore.kernel.org/all/20250919013450.111424-1-xuanzhuo@linux.alibaba.com (local) Commit #1 Move the flags into the existing if condition; the issue is that it introduces a small amount of code duplication. Commit #3 is new to fix the hdr len in tunnel gso feature.
I think these are completely independent right? When there is no dependency it is best to send patches separately, this way they do not block each other.
Thanks.
v4:
1. add commit "virtio-net: Ensure hdr_len is not set unless the header is forwarded to the device." @Jason
v3:
1. recode the #3 for tunnel gso, and test it
Xuan Zhuo (4):
virtio-net: fix incorrect flags recording in big mode
virtio-net: Ensure hdr_len is not set unless the header is forwarded
to the device.
virtio-net: correct hdr_len handling for VIRTIO_NET_F_GUEST_HDRLEN
virtio-net: correct hdr_len handling for tunnel gso
drivers/net/virtio_net.c | 16 +++++++++----
include/linux/virtio_net.h | 48 ++++++++++++++++++++++++++++++--------
2 files changed, 49 insertions(+), 15 deletions(-)
--
2.32.0.3.g01195cf9f