diff options
| author | 2021-09-13 19:19:28 +0800 | |
|---|---|---|
| committer | 2021-12-09 10:52:55 -0800 | |
| commit | 4b3749865374899e115aa8c48681709b086fe6d3 (patch) | |
| tree | 72a985c430d13ea5e107342bc7058e7d4f7c42d7 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | aio: fix use-after-free due to missing POLLFREE handling (diff) | |
| download | linux-dev-4b3749865374899e115aa8c48681709b086fe6d3.tar.xz linux-dev-4b3749865374899e115aa8c48681709b086fe6d3.zip | |
aio: Fix incorrect usage of eventfd_signal_allowed()
We should defer eventfd_signal() to the workqueue when
eventfd_signal_allowed() return false rather than return
true.
Fixes: b542e383d8c0 ("eventfd: Make signal recursion protection a task bit")
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210913111928.98-1-xieyongji@bytedance.com
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
