netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] fixes two virtio-net related bugs.
@ 2025-09-25  2:25 Xuan Zhuo
  2025-09-25  2:25 ` [PATCH net 1/2] virtio-net: fix incorrect flags recording in big mode Xuan Zhuo
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Xuan Zhuo @ 2025-09-25  2:25 UTC (permalink / raw)
  To: netdev
  Cc: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Willem de Bruijn, Jiri Pirko, Alvaro Karsz, Heng Qi,
	virtualization

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 #2 is new.

Xuan Zhuo (2):
  virtio-net: fix incorrect flags recording in big mode
  virtio-net: correct hdr_len handling for VIRTIO_NET_F_GUEST_HDRLEN

 drivers/net/virtio_net.c   | 16 +++++++++++-----
 include/linux/virtio_net.h | 19 ++++++++++++-------
 2 files changed, 23 insertions(+), 12 deletions(-)

--
2.32.0.3.g01195cf9f


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH net v1 0/3] fixes two virtio-net related bugs.
@ 2025-10-11  9:41 Xuan Zhuo
  2025-10-11 14:13 ` [syzbot ci] " syzbot ci
  0 siblings, 1 reply; 13+ messages in thread
From: Xuan Zhuo @ 2025-10-11  9:41 UTC (permalink / raw)
  To: netdev
  Cc: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Willem de Bruijn, Jiri Pirko, Alvaro Karsz, Heng Qi,
	virtualization

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.

Hi @Paolo Abenchi,
Could you please test commit #3? I don't have a suitable test environment, as
QEMU doesn't currently support the tunnel GSO feature.

Thanks.

Xuan Zhuo (3):
  virtio-net: fix incorrect flags recording in big mode
  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 | 46 ++++++++++++++++++++++++++++++++------
 2 files changed, 50 insertions(+), 12 deletions(-)

--
2.32.0.3.g01195cf9f


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-10-11 14:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-25  2:25 [PATCH net 0/2] fixes two virtio-net related bugs Xuan Zhuo
2025-09-25  2:25 ` [PATCH net 1/2] virtio-net: fix incorrect flags recording in big mode Xuan Zhuo
2025-09-26  4:49   ` Jason Wang
2025-09-25  2:25 ` [PATCH net 2/2] virtio-net: correct hdr_len handling for VIRTIO_NET_F_GUEST_HDRLEN Xuan Zhuo
2025-09-26  4:52   ` Jason Wang
2025-10-09 11:00     ` Xuan Zhuo
2025-10-09 11:08     ` Xuan Zhuo
2025-10-10  0:36       ` Jason Wang
2025-10-10  3:01         ` Xuan Zhuo
2025-09-25  7:13 ` [syzbot ci] Re: fixes two virtio-net related bugs syzbot ci
2025-09-25  7:16   ` Marco Elver
2025-09-25  7:19     ` syzbot ci
  -- strict thread matches above, loose matches on Subject: below --
2025-10-11  9:41 [PATCH net v1 0/3] " Xuan Zhuo
2025-10-11 14:13 ` [syzbot ci] " syzbot ci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).