Skip to content

xsk: Fix unaligned descriptor validation

Kal Conley bpf linux-kselftest lkml netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v11 patch 5 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2xsk: Fix unaligned descriptor validationinclude/net/xsk_buff_pool.h net/xdp/xsk_queue.h+3 -70 repliesApplied
2/2selftests: xsk: Add test UNALIGNED_INV_DESC_4K1_FRAME_SIZEtools/testing/selftests/bpf/xskxceiver.c tools/testing/selftests/bpf/xskxceiver.h+25 -01 replyApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMagnus Karlsson
1/2A-b
2/2

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-next v2 0/2] xsk: Fix unaligned descriptor validation

This patchset includes the test with the bugfix as requested here:
https://lore.kernel.org/all/[email protected]/

Patch #1 (the bugfix) is identical to the previous submission except that I improved the commit message slightly.

Magnus: I improved the test code a little different than you asked since I thought this was a little simpler than having a separate function for now. Hopefully, you can live with this :-).

Kal Conley (2):
xsk: Fix unaligned descriptor validation
selftests: xsk: Add test UNALIGNED_INV_DESC_4K1_FRAME_SIZE

 include/net/xsk_buff_pool.h              |  9 ++-------
 net/xdp/xsk_queue.h                      |  1 +
 tools/testing/selftests/bpf/xskxceiver.c | 24 ++++++++++++++++++++++++
 tools/testing/selftests/bpf/xskxceiver.h |  1 +
 4 files changed, 28 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.2