Netdev List
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] xsk: handle two header issues
@ 2026-11-27 10:53 Jason Xing
  2026-11-27 10:53 ` [PATCH net v2 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
  2026-11-27 10:53 ` [PATCH net v2 2/2] xsk: fill in header offsets for TX checksum offload Jason Xing
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Xing @ 2026-11-27 10:53 UTC (permalink / raw)
  To: willemb, magnus.karlsson, maciej.fijalkowski, sdf, bjorn, davem,
	edumazet, kuba, pabeni, horms
  Cc: netdev, bpf, Jason Xing

Cover more potential mac_headers cases in __dev_direct_xmit, including
xsk.

Initialize the metadata of headers in xsk.

---
V2
Link: https://lore.kernel.org/all/20261124083520.45547-1-kerneljasonxing@gmail.com/
1. address issues reported by sashiko
2. introduce 0001 patch to prevent the changes from 0002 casuing ICE
unintended buggy behavior because of using mac_header in ICE.

Jason Xing (2):
  net: reset the mac header in __dev_direct_xmit()
  xsk: fill in header offsets for TX checksum offload

 net/core/dev.c |  2 ++
 net/xdp/xsk.c  | 47 +++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 47 insertions(+), 2 deletions(-)

-- 
2.43.7


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

end of thread, other threads:[~2026-11-27 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 10:53 [PATCH net v2 0/2] xsk: handle two header issues Jason Xing
2026-11-27 10:53 ` [PATCH net v2 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
2026-11-27 10:53 ` [PATCH net v2 2/2] xsk: fill in header offsets for TX checksum offload Jason Xing

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