Re: [PATCH v5 2/3] net/af-xdp: Fix up cleanup path upon failure in queue creation

2025-07-14 Thread Ilya Maximets
On 7/11/25 11:44 AM, Daniel Borkmann wrote: > While testing, it turned out that upon error in the queue creation loop, > we never trigger the af_xdp_cleanup() handler. This is because we pass > errp instead of a local err pointer into the various AF_XDP setup functions > instead of a scheme like: >

[PATCH v5 2/3] net/af-xdp: Fix up cleanup path upon failure in queue creation

2025-07-11 Thread Daniel Borkmann via
While testing, it turned out that upon error in the queue creation loop, we never trigger the af_xdp_cleanup() handler. This is because we pass errp instead of a local err pointer into the various AF_XDP setup functions instead of a scheme like: bool fn(..., Error **errp) { Error *