Commit c32b624
smb: client: fix potential race in cifs_put_tcon()
dfs_cache_refresh() delayed worker could race with cifs_put_tcon(), so
make sure to call list_replace_init() on @tcon->dfs_ses_list after
kworker is cancelled or finished.
Fixes: 4f42a8b ("smb: client: fix DFS interlink failover")
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent ddca502 commit c32b624
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2532 | 2532 | | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | 2535 | | |
2539 | 2536 | | |
2540 | 2537 | | |
2541 | 2538 | | |
2542 | 2539 | | |
2543 | 2540 | | |
2544 | 2541 | | |
| 2542 | + | |
2545 | 2543 | | |
2546 | 2544 | | |
2547 | 2545 | | |
| |||
0 commit comments