aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2023-03-17 14:43:37 +0800
committerJakub Kicinski <[email protected]>2023-03-20 22:00:19 -0700
commitf038f3917baf04835ba2b7bcf2a04ac93fbf8a9c (patch)
treef20476e24768bca3bfe800d831ed6cd03c5fb2af /tools/testing/selftests/bpf/progs/test_autoload.c
parentf36fa5581bcace4e1054347c46ca67f2664fba33 (diff)
octeontx2-vf: Add missing free for alloc_percpu
Add the free_percpu for the allocated "vf->hw.lmt_info" in order to avoid memory leak, same as the "pf->hw.lmt_info" in `drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c`. Fixes: 5c0512072f65 ("octeontx2-pf: cn10k: Use runtime allocated LMTLINE region") Signed-off-by: Jiasheng Jiang <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Acked-by: Geethasowjanya Akula <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions