]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: sort interface list by speed
authorAurelien Aptel <aaptel@suse.com>
Fri, 20 Sep 2019 04:29:39 +0000 (06:29 +0200)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2019 07:16:30 +0000 (01:16 -0600)
commit650cc3fd4e6307b218ce1f703aae70f1ca9c4810
tree12d6b28dc1c7f924f3bb7fb23cfd44f3946e5618
parent341871dd93ccf6da2d9ae297727b46024af950af
cifs: sort interface list by speed

New channels are going to be opened by walking the list sequentially,
so by sorting it we will connect to the fastest interfaces first.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c