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)
commit35adffed079fdcf1818bfe9da7625a5446b626e0
tree12d6b28dc1c7f924f3bb7fb23cfd44f3946e5618
parentfa9c2362497fbd64788063288dc4e74daf977ebb
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