Whamcloud - gitweb
LU-12756 lnet: Avoid comparing route to itself 35/36535/4
authorChris Horn <hornc@cray.com>
Tue, 22 Oct 2019 00:35:42 +0000 (19:35 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 Jan 2020 07:41:41 +0000 (07:41 +0000)
commit2b8d9d12d182fc91d671558434cc0b652c1ade21
tree5042d29bc2a778f72d67ee405c2dea92086bf8f1
parent80edb2ad72baf9b096e03f2929b8b018b0a630d2
LU-12756 lnet: Avoid comparing route to itself

The first iteration of the route selection loop compares the first
route in the list with itself.

Test-Parameters: trivial
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I1a51b04b248dbaa9a47a7a69e2995c21e515fb2b
Reviewed-on: https://review.whamcloud.com/36535
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-move.c