lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 28 Mar 2022 16:21:19 +0200
From:   Maciej Fijalkowski <>
        Maciej Fijalkowski <>
Subject: [PATCH bpf 0/4] xsk: another round of fixes


yet another fixes for XSK from Magnus and me.

Magnus addresses the fact that xp_alloc() can return NULL, so this needs
to be handled to avoid clearing entries in the SW ring on driver side.
Then he addresses the off-by-one problem in Tx desc cleaning routine for
ice ZC driver.

>From my side, I am adding protection to ZC Rx processing loop so that
cleaning of descriptors wouldn't go over already processed entries.
Then I also fix an issue with assigning XSK pool to Tx queues.

This is directed to bpf tree.


Maciej Fijalkowski (2):
  ice: xsk: stop Rx processing when ntc catches ntu
  ice: xsk: fix indexing in ice_tx_xsk_pool()

Magnus Karlsson (2):
  xsk: do not write NULL in SW ring at allocation failure
  ice: xsk: eliminate unnecessary loop iteration

 drivers/net/ethernet/intel/ice/ice.h     | 2 +-
 drivers/net/ethernet/intel/ice/ice_xsk.c | 5 ++++-
 net/xdp/xsk_buff_pool.c                  | 8 ++++++--
 3 files changed, 11 insertions(+), 4 deletions(-)


Powered by blists - more mailing lists