diff options
| author | Henrique Carvalho <henrique.carvalho@suse.com> | 2025-11-07 18:59:53 -0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-11-09 17:30:17 -0600 |
| commit | 79280191c2fd7f24899bbd640003b5389d3c109c (patch) | |
| tree | ad33e712f267194b6b92653c4d4824b241b30efe /net/unix/af_unix.c | |
| parent | e9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c (diff) | |
smb: client: fix cifs_pick_channel when channel needs reconnect
cifs_pick_channel iterates candidate channels using cur. The
reconnect-state test mistakenly used a different variable.
This checked the wrong slot and would cause us to skip a healthy channel
and to dispatch on one that needs reconnect, occasionally failing
operations when a channel was down.
Fix by replacing for the correct variable.
Fixes: fc43a8ac396d ("cifs: cifs_pick_channel should try selecting active channels")
Cc: stable@vger.kernel.org
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
