Hi David, hi Jakub, hi Paolo, hi Eric, The following pull-request contains BPF updates for your *net* tree. We've added 12 non-merge commits during the last 2 day(s) which contain a total of 13 files changed, 190 insertions(+), 91 deletions(-). The main changes are: 1) Fix bpf_xdp_adjust_tail() in context of XSK zero-copy drivers which support XDP multi-buffer. The former triggered a NULL pointer dereference upon shrinking, from Maciej Fijalkowski & Tirthendu Sarkar. 2) Fix a bug in riscv64 BPF JIT which emitted a wrong prologue and epilogue for struct_ops programs, from Pu Lehui. Please consider pulling these changes from: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev Thanks a lot! Also thanks to reporters, reviewers and testers of commits in this pull-request: Björn Töpel, Maciej Fijalkowski, Magnus Karlsson ---------------------------------------------------------------- The following changes since commit 1347775dea7f62798b4d5ef60771cdd7cfff25d8: Merge tag 'wireless-2024-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless (2024-01-23 08:38:13 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev for you to fetch changes up to 9d71bc833f57a6549c753e37ce47136d35b67fc4: Merge branch 'net-bpf_xdp_adjust_tail-and-intel-mbuf-fixes' (2024-01-24 16:24:07 -0800) ---------------------------------------------------------------- bpf-for-netdev ---------------------------------------------------------------- Alexei Starovoitov (1): Merge branch 'net-bpf_xdp_adjust_tail-and-intel-mbuf-fixes' Maciej Fijalkowski (10): xsk: recycle buffer in case Rx queue was full xsk: make xsk_buff_pool responsible for clearing xdp_buff::flags xsk: fix usage of multi-buffer BPF helpers for ZC XDP ice: work on pre-XDP prog frag count ice: remove redundant xdp_rxq_info registration intel: xsk: initialize skb_frag_t::bv_offset in ZC drivers ice: update xdp_rxq_info::frag_size for ZC enabled Rx queue xdp: reflect tail increase for MEM_TYPE_XSK_BUFF_POOL i40e: set xdp_rxq_info::frag_size i40e: update xdp_rxq_info::frag_size for ZC enabled Rx queue Pu Lehui (1): riscv, bpf: Fix unpredictable kernel crash about RV64 struct_ops Tirthendu Sarkar (1): i40e: handle multi-buffer packets that are shrunk by xdp prog arch/riscv/net/bpf_jit_comp64.c | 5 +-- drivers/net/ethernet/intel/i40e/i40e_main.c | 47 ++++++++++++++++--------- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 49 +++++++++++++-------------- drivers/net/ethernet/intel/i40e/i40e_xsk.c | 4 +-- drivers/net/ethernet/intel/ice/ice_base.c | 37 ++++++++++++-------- drivers/net/ethernet/intel/ice/ice_txrx.c | 19 +++++------ drivers/net/ethernet/intel/ice/ice_txrx.h | 1 + drivers/net/ethernet/intel/ice/ice_txrx_lib.h | 31 ++++++++++++----- drivers/net/ethernet/intel/ice/ice_xsk.c | 4 +-- include/net/xdp_sock_drv.h | 27 +++++++++++++++ net/core/filter.c | 44 ++++++++++++++++++++---- net/xdp/xsk.c | 12 ++++--- net/xdp/xsk_buff_pool.c | 1 + 13 files changed, 190 insertions(+), 91 deletions(-)