diff options
author | Aurelien Aptel <[email protected]> | 2019-07-17 12:46:28 +0200 |
---|---|---|
committer | Steve French <[email protected]> | 2019-07-18 13:51:35 -0500 |
commit | 7e5a70ad88b1e6f6d9b934b2efb41afff496820f (patch) | |
tree | 9c13366cebf1ad4eccc41e40ca9005e55305d2f5 /net/lapb/lapb_subr.c | |
parent | ae9b728c8dc0a9939d89f84e8603258ca2a0df22 (diff) |
CIFS: fix deadlock in cached root handling
Prevent deadlock between open_shroot() and
cifs_mark_open_files_invalid() by releasing the lock before entering
SMB2_open, taking it again after and checking if we still need to use
the result.
Link: https://lore.kernel.org/linux-cifs/[email protected]/T/#u
Fixes: 3d4ef9a15343 ("smb3: fix redundant opens on root")
Signed-off-by: Aurelien Aptel <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions