Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 iwl-net 0/2] idpf: Fix Rx header split overflow edge cases.
@ 2026-12-05 12:43 Kuniyuki Iwashima
  2026-12-05 12:43 ` [PATCH v1 iwl-net 1/2] idpf: Avoid double recycle on empty packet in idpf_rx_hsplit_wa() Kuniyuki Iwashima
  2026-12-05 12:43 ` [PATCH v1 iwl-net 2/2] idpf: Linearise headers and fix segments calculation in idpf_rx_rsc() Kuniyuki Iwashima
  0 siblings, 2 replies; 4+ messages in thread
From: Kuniyuki Iwashima @ 2026-12-05 12:43 UTC (permalink / raw)
  To: Alexander Lobakin, Tony Nguyen, Przemek Kitszel
  Cc: Madhu Chittim, Phani Burra, Sridhar Samudrala, Brian Vazquez,
	David Decotigny, Li Li, Kuniyuki Iwashima, Kuniyuki Iwashima,
	intel-wired-lan

This series fixes two bugs on the splitq Rx header split overflow
(!hdr_len) path in idpf.

Patch 1 skips idpf_rx_hsplit_wa() when pkt_len is 0 so an empty
descriptor is not recycled twice.

Patch 2 pulls the IP and TCP headers (including TCP options) in
idpf_rx_rsc() before accessing ip_hdr(), ipv6_hdr(), and tcp_hdr(),
and computes rsc_segments from the TCP payload length rather than
skb->data_len.


Kuniyuki Iwashima (2):
  idpf: Avoid double recycle on empty packet in idpf_rx_hsplit_wa().
  idpf: Linearise headers and fix segments calculation in idpf_rx_rsc().

 drivers/net/ethernet/intel/idpf/idpf_txrx.c | 45 ++++++++++++---------
 1 file changed, 27 insertions(+), 18 deletions(-)

-- 
2.56.1.915.g69d5ec7298-goog


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

end of thread, other threads:[~2026-12-05 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 12:43 [PATCH v1 iwl-net 0/2] idpf: Fix Rx header split overflow edge cases Kuniyuki Iwashima
2026-12-05 12:43 ` [PATCH v1 iwl-net 1/2] idpf: Avoid double recycle on empty packet in idpf_rx_hsplit_wa() Kuniyuki Iwashima
2026-12-05 13:07   ` sashiko-bot
2026-12-05 12:43 ` [PATCH v1 iwl-net 2/2] idpf: Linearise headers and fix segments calculation in idpf_rx_rsc() Kuniyuki Iwashima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox