mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
Free the created fd or allocated bpf_object after test case succeeds, else there will be resource leaks. Spotted by using address sanitizer and checking the content of /proc/$pid/fd directory. Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20220921070035.2016413-3-houtao@huaweicloud.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| array_map_batch_ops.c | ||
| htab_map_batch_ops.c | ||
| lpm_trie_map_batch_ops.c | ||
| map_in_map_batch_ops.c | ||
| sk_storage_map.c | ||
| task_storage_map.c | ||