Whamcloud - gitweb
LU-13276 lnet: Update nnis to avoid infinite loop 76/37676/2
authorChris Horn <hornc@cray.com>
Thu, 20 Feb 2020 23:38:11 +0000 (17:38 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Mar 2020 22:36:59 +0000 (22:36 +0000)
commitd2631a28541ee0cdc8aef3bee8ebb329b048a42c
tree439e00672b35d694d03f3cf52959bb2f6d980b9b
parent82bb93410fc6f74e32ad74339ece5b4f62dc9967
LU-13276 lnet: Update nnis to avoid infinite loop

The goto loop in lnet_push_target_resize() is infinite because
the loop variable 'nnis' is not updated with the new value from
ln_push_target_nnis.

Cray-bug-id: LUS-8526
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I65b0bc0b56393f2296bafa3a964c59840baa0643
Reviewed-on: https://review.whamcloud.com/37676
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c