Skip to content

xsk: fix two bugs in the SKB Tx path

Magnus Karlsson bpf netdev 2 versions – Applied

Status from this message: This series was applied to bpf/bpf.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

* Rebase

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2xsk: fix race in SKB mode transmit with shared cqinclude/net/xdp_sock.h include/net/xsk_buff_pool.h net/xdp/xsk.c +1 more+12 -70 repliesApplied
2/2xsk: rollback reservation at NETDEV_TX_BUSYnet/xdp/xsk.c net/xdp/xsk_queue.h+8 -00 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBjörn Töpel
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf v2 0/2] xsk: fix two bugs in the SKB Tx path

This patch set contains two bug fixes to the Tx SKB path. Details can be found in the individual commit messages. Special thanks to Xuan Zhuo for spotting both of them.

v1 -> v2:
* Rebase

Thanks: Magnus

Magnus Karlsson (2):
xsk: fix race in SKB mode transmit with shared cq
xsk: rollback reservation at NETDEV_TX_BUSY

 include/net/xdp_sock.h      |  4 ----
 include/net/xsk_buff_pool.h |  5 +++++
 net/xdp/xsk.c               | 12 +++++++++---
 net/xdp/xsk_buff_pool.c     |  1 +
 net/xdp/xsk_queue.h         |  5 +++++
 5 files changed, 20 insertions(+), 7 deletions(-)

base-commit: 8bee683384087a6275c9183a483435225f7bb209 --
2.29.0