From: Jason Xing <kerneljasonxing@gmail.com>
To: willemb@google.com, magnus.karlsson@intel.com,
maciej.fijalkowski@intel.com, sdf@fomichev.me, bjorn@kernel.org,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org
Cc: netdev@vger.kernel.org, bpf@vger.kernel.org,
Jason Xing <kerneljasonxing@gmail.com>
Subject: [PATCH net v4 0/2] xsk: handle two header issues
Date: Tue, 1 Dec 2026 15:57:29 +0800 [thread overview]
Message-ID: <20261201075731.36746-1-kerneljasonxing@gmail.com> (raw)
Cover more potential mac_headers cases in __dev_direct_xmit, including
xsk.
Initialize the metadata of headers in xsk.
---
V4
Link: https://lore.kernel.org/all/20261129111056.11124-1-kerneljasonxing@gmail.com/#t
1. address Sashiko's reported issue by adding strict check to prevent
packet being writting a csum value into the wrong place.
V3
Link: https://lore.kernel.org/all/20261127105347.72997-1-kerneljasonxing@gmail.com/
1. add Bjorn's R-b tag
2. address Bjorn's and Sashiko's issues - return 0 instead of falling
back to software csum which could lead to bad exceptions like skb drop.
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 causing 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 | 79 +++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 77 insertions(+), 4 deletions(-)
--
2.43.7
next reply other threads:[~2026-12-01 7:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 7:57 Jason Xing [this message]
2026-12-01 7:57 ` [PATCH net v4 1/2] net: reset the mac header in __dev_direct_xmit() Jason Xing
2026-12-01 7:57 ` [PATCH net v4 2/2] xsk: fill in header offsets for TX checksum offload Jason Xing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201075731.36746-1-kerneljasonxing@gmail.com \
--to=kerneljasonxing@gmail.com \
--cc=bjorn@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=maciej.fijalkowski@intel.com \
--cc=magnus.karlsson@intel.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.