[ofw] [Patch 50/62] Reference implementation of NDv2
Fab Tillier
ftillier at microsoft.com
Wed Feb 20 20:55:34 PST 2013
NDFLTR: Initialize the RDMA device list entry to prevent access violation upon removal if initialization failed.
Signed-off-by: Fab Tillier <ftillier at microsoft.com>
diff -dwup3 -X excl.txt -I ^ \*$ -I ^ \* \$ -r \dev\openib\Mellanox\10916\core\ndfltr\kernel\nd_driver.cpp .\core\ndfltr\kernel\nd_driver.cpp
--- \dev\openib\Mellanox\10916\core\ndfltr\kernel\nd_driver.cpp Mon Sep 10 11:47:09 2012
+++ .\core\ndfltr\kernel\nd_driver.cpp Mon Sep 10 09:05:32 2012
@@ -845,6 +845,7 @@ NdRdmaDeviceAdd(
pDev->Ref = 1;
pDev->WdfDev = dev;
KeInitializeEvent(&pDev->Event, NotificationEvent, FALSE);
+ InitializeListHead(&pDev->Entry);
return STATUS_SUCCESS;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.50.patch
Type: application/octet-stream
Size: 524 bytes
Desc: ndv2.50.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130221/1e85d57c/attachment.obj>
More information about the ofw
mailing list