aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2023-02-28 22:01:55 +0000
committerSteve French <[email protected]>2023-03-02 00:18:25 +0000
commit1bcd548d935a33c6fc58331405eb1b82fd6150de (patch)
treea6c80c6ffc0436c6ff39153eae0502d99e4f9ba9 /tools/perf/scripts/python
parentcifs: improve checking of DFS links over STATUS_OBJECT_NAME_INVALID (diff)
downloadkernel-1bcd548d935a33c6fc58331405eb1b82fd6150de.tar.gz
kernel-1bcd548d935a33c6fc58331405eb1b82fd6150de.zip
cifs: prevent data race in cifs_reconnect_tcon()
Make sure to get an up-to-date TCP_Server_Info::nr_targets value prior to waiting the server to be reconnected in cifs_reconnect_tcon(). It is set in cifs_tcp_ses_needs_reconnect() and protected by TCP_Server_Info::srv_lock. Create a new cifs_wait_for_server_reconnect() helper that can be used by both SMB2+ and CIFS reconnect code. Signed-off-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions