[git pull] epoll fixes
From: Al Viro
Date: Fri Oct 02 2020 - 13:20:30 EST
Several race fixes in epoll.
The following changes since commit 77f4689de17c0887775bb77896f4cc11a39bf848:
fix regression in "epoll: Keep a reference on files added to the check list" (2020-09-02 11:30:48 -0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.epoll
for you to fetch changes up to 3701cb59d892b88d569427586f01491552f377b1:
ep_create_wakeup_source(): dentry name can change under you... (2020-09-24 19:41:58 -0400)
----------------------------------------------------------------
Al Viro (4):
epoll: do not insert into poll queues until all sanity checks are done
epoll: replace ->visited/visited_list with generation count
epoll: EPOLL_CTL_ADD: close the race in decision to take fast path
ep_create_wakeup_source(): dentry name can change under you...
fs/eventpoll.c | 72 +++++++++++++++++++++++++---------------------------------
1 file changed, 31 insertions(+), 41 deletions(-)