Explorar el Código

[infiniband] Poll event queues only for devices that are open

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown hace 13 años
padre
commit
774ea3d263
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/net/infiniband.c

+ 1
- 1
src/net/infiniband.c Ver fichero

@@ -861,7 +861,7 @@ void ib_poll_eq ( struct ib_device *ibdev ) {
861 861
 static void ib_step ( struct process *process __unused ) {
862 862
 	struct ib_device *ibdev;
863 863
 
864
-	for_each_ibdev ( ibdev )
864
+	list_for_each_entry ( ibdev, &open_ib_devices, open_list )
865 865
 		ib_poll_eq ( ibdev );
866 866
 }
867 867
 

Loading…
Cancelar
Guardar