Skip to content
Snippets Groups Projects
Commit c5c6e00f authored by Al Viro's avatar Al Viro Committed by Greg Kroah-Hartman
Browse files

fix regression in "epoll: Keep a reference on files added to the check list"


[ Upstream commit 77f4689d ]

epoll_loop_check_proc() can run into a file already committed to destruction;
we can't grab a reference on those and don't need to add them to the set for
reverse path check anyway.

Tested-by: default avatarMarc Zyngier <maz@kernel.org>
Fixes: a9ed4a65 ("epoll: Keep a reference on files added to the check list")
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cfb5e057
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment