diff options
| author | Henrique Carvalho <henrique.carvalho@suse.com> | 2026-02-21 01:59:44 -0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-22 16:52:50 -0600 |
| commit | 663c28469d3274d6456f206a6671c91493d85ff1 (patch) | |
| tree | a2a313ff75d06d27dc0582999a89febbb3ad8882 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f (diff) | |
smb: client: fix cifs_pick_channel when channels are equally loaded
cifs_pick_channel uses (start % chan_count) when channels are equally
loaded, but that can return a channel that failed the eligibility
checks.
Drop the fallback and return the scan-selected channel instead. If none
is eligible, keep the existing behavior of using the primary channel.
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Acked-by: Meetakshi Setiya <msetiya@microsoft.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
