diff options
| author | Enzo Matsumiya <[email protected]> | 2022-01-07 22:51:39 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2022-01-08 02:07:11 +0000 |
| commit | 1913e1116a3174648cf2e6faedf29204f31cc438 (patch) | |
| tree | 7da7b06bfe4b3231e6610a66b9debb4885f64c86 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | cifs: take cifs_tcp_ses_lock for status checks (diff) | |
| download | kernel-1913e1116a3174648cf2e6faedf29204f31cc438.tar.gz kernel-1913e1116a3174648cf2e6faedf29204f31cc438.zip | |
cifs: fix hang on cifs_get_next_mid()
Mount will hang if using SMB1 and DFS.
This is because every call to get_next_mid() will, unconditionally,
mark tcpStatus to CifsNeedReconnect before even establishing the
initial connect, because "reconnect" variable was not initialized.
Initializing "reconnect" to false fix this issue.
Fixes: 220c5bc25d87 ("cifs: take cifs_tcp_ses_lock for status checks")
Signed-off-by: Enzo Matsumiya <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
