Page MenuHomeFreeBSD

D54887.diff
No OneTemporary

D54887.diff

diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c
--- a/sys/dev/qlnx/qlnxe/qlnx_os.c
+++ b/sys/dev/qlnx/qlnxe/qlnx_os.c
@@ -2431,7 +2431,8 @@
QL_DPRINT2(ha, "enter\n");
QLNX_LOCK(ha);
- qlnx_init_locked(ha);
+ if ((if_getdrvflags(ha->ifp) & IFF_DRV_RUNNING) == 0)
+ qlnx_init_locked(ha);
QLNX_UNLOCK(ha);
QL_DPRINT2(ha, "exit\n");

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 24, 6:36 AM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35434095
Default Alt Text
D54887.diff (368 B)

Event Timeline