[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251029030913.20423-1-xuanzhuo@linux.alibaba.com>
Date: Wed, 29 Oct 2025 11:09:09 +0800
From: Xuan Zhuo <xuanzhuo@...ux.alibaba.com>
To: netdev@...r.kernel.org
Cc: "Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Eugenio Pérez <eperezma@...hat.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Heng Qi <hengqi@...ux.alibaba.com>,
Willem de Bruijn <willemb@...gle.com>,
Jiri Pirko <jiri@...nulli.us>,
Alvaro Karsz <alvaro.karsz@...id-run.com>,
virtualization@...ts.linux.dev
Subject: [PATCH net v4 0/4] fixes two virtio-net related bugs.
As discussed in http://lore.kernel.org/all/20250919013450.111424-1-xuanzhuo@linux.alibaba.com
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.
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
Powered by blists - more mailing lists