浏览代码

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年前
父节点
当前提交
774ea3d263
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/net/infiniband.c

+ 1
- 1
src/net/infiniband.c 查看文件

@@ -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
 

正在加载...
取消
保存