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/2026…@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/2026…@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/2026…@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