aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2023-10-02 13:04:45 +0300
committerAmir Goldstein <[email protected]>2023-10-02 13:08:31 +0300
commit8542f1712074f070ae90b64e6082d10d8e912e32 (patch)
treebafda0c9feb370e7f114a6652549a4e33e29f985 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
ovl: fix file reference leak when submitting aio
Commit 724768a39374 ("ovl: fix incorrect fdput() on aio completion") took a refcount on real file before submitting aio, but forgot to avoid clearing FDPUT_FPUT from real.flags stack variable. This can result in a file reference leak. Fixes: 724768a39374 ("ovl: fix incorrect fdput() on aio completion") Reported-by: Gil Lev <[email protected]> Signed-off-by: Amir Goldstein <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions