diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-10-28 21:38:41 +0530 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-29 17:38:23 -0700 |
| commit | a4384d786e38d5ff172f0908aae01c2c30719245 (patch) | |
| tree | 099f17effcfac6dfe38f68b0b17b22f1fc029456 /tools/docs/parse-headers.py | |
| parent | bcc843bb0e7468de7f2de8bc2e3fa5a54dd1f3d0 (diff) | |
nfp: xsk: fix memory leak in nfp_net_alloc()
In nfp_net_alloc(), the memory allocated for xsk_pools is not freed in
the subsequent error paths, leading to a memory leak. Fix that by
freeing it in the error path.
Fixes: 6402528b7a0b ("nfp: xsk: add AF_XDP zero-copy Rx and Tx support")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://patch.msgid.link/20251028160845.126919-1-nihaal@cse.iitm.ac.in
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
