[PATCH bpf-next v2 0/2] xsk: Fix unaligned descriptor validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset includes the test with the bugfix as requested here:
https://lore.kernel.org/all/f1a32d5a-03e7-fce1-f5a5-6095f365f0a9@xxxxxxxxx/

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(-)

-- 
2.39.2




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux