[ofw] [PATCH] reset completion
Slava Strebkov
slavas at voltaire.com
Tue Apr 1 07:09:24 PDT 2008
Hi,
We got a bugcheck when NdisMResetComplete called without previous reset
request completed with STATUS_PENDING.
The following patch fixes the bug.
Index: ulp/ipoib/kernel/ipoib_adapter.c
===================================================================
--- ulp/ipoib/kernel/ipoib_adapter.c (revision 1026)
+++ ulp/ipoib/kernel/ipoib_adapter.c (working copy)
@@ -808,6 +808,11 @@
p_adapter->hung = FALSE;
}
+ if (status == IB_NOT_DONE)
+ p_adapter->reset = TRUE;
+ else
+ p_adapter->reset = FALSE;
+
IPOIB_EXIT( IPOIB_DBG_INIT );
return status;
}
Slava Strebkov
SW Engineer
Voltaire
099718750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080401/77a6f250/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reset_complete.diff
Type: application/octet-stream
Size: 432 bytes
Desc: reset_complete.diff
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080401/77a6f250/attachment.obj>
More information about the ofw
mailing list