Skip to content
Commit a4f1a01b authored by Dominique Martinet's avatar Dominique Martinet Committed by Greg Kroah-Hartman
Browse files

9p: trans_fd/p9_conn_cancel: drop client lock earlier

commit 52f1c45d upstream.

syzbot reported a double-lock here and we no longer need this
lock after requests have been moved off to local list:
just drop the lock earlier.

Link: https://lkml.kernel.org/r/20220904064028.1305220-1-asmadeus@codewreck.org


Reported-by: default avatar <syzbot+50f7e8d06c3768dd97f3@syzkaller.appspotmail.com>
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
Tested-by: default avatarSchspa Shi <schspa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f7b0e950
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment