[IA64-SGI] bte_copy nasid_index fix
The nasid_index was not being incremented if the pointer was null, causing an infinite loop. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
771388dc7d
commit
ab2ff46a2d
|
@ -137,6 +137,7 @@ retry_bteop:
|
||||||
bte = bte_if_on_node(nasid_to_try[nasid_index],bte_if_index);
|
bte = bte_if_on_node(nasid_to_try[nasid_index],bte_if_index);
|
||||||
|
|
||||||
if (bte == NULL) {
|
if (bte == NULL) {
|
||||||
|
nasid_index++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue