diff options
author | Xingyuan Mo <hdthky0@gmail.com> | 2023-01-12 00:24:53 +0800 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-01-11 21:29:11 -0500 |
commit | e6cf91b7b47ff82b624bdfe2fdcde32bb52e71dd (patch) | |
tree | d3c42d05235a0fdfa5a1c4172e40167279ef9f66 /tools/testing/selftests/bpf/prog_tests | |
parent | 5304930dbae82d259bcf7e5611db7c81e7a42eff (diff) |
NFSD: fix use-after-free in nfsd4_ssc_setup_dul()
If signal_pending() returns true, schedule_timeout() will not be executed,
causing the waiting task to remain in the wait queue.
Fixed by adding a call to finish_wait(), which ensures that the waiting
task will always be removed from the wait queue.
Fixes: f4e44b393389 ("NFSD: delay unmount source's export after inter-server copy completed.")
Signed-off-by: Xingyuan Mo <hdthky0@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions