[PATCH 1/2] net/af_xdp: ensure xsk is deleted on Rx queue setup error

Ferruh Yigit ferruh.yigit at intel.com
Fri Feb 18 19:49:23 CET 2022


On 2/18/2022 11:20 AM, Ciara Loftus wrote:
> The Rx queue setup can fail for many reasons eg. failure to setup the
> custom program, failure to allocate or reserve fill queue buffers,
> failure to configure busy polling etc. When a failure like one of these
> occurs, if the xsk is already set up it should be deleted before
> returning. This commit ensures this happens.
> 
> Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks")
> Fixes: 288a85aef192 ("net/af_xdp: enable custom XDP program loading")
> Fixes: 055a393626ed ("net/af_xdp: prefer busy polling")
> Fixes: 01fa83c94d7e ("net/af_xdp: workaround custom program loading")
> Cc:stable at dpdk.org
> 
> Signed-off-by: Ciara Loftus<ciara.loftus at intel.com>

Series applied to dpdk-next-net/main, thanks.


More information about the stable mailing list