[ovs-dev] [PATCH 18/40] datapath-windows: Add function annotations for OvsCancelIrp

Alin Serdean aserdean at cloudbasesolutions.com
Fri Jul 14 04:40:54 UTC 2017


The function should be aware that it is cancel routine.

This patch adds annotation for that.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
 datapath-windows/ovsext/Event.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/datapath-windows/ovsext/Event.c b/datapath-windows/ovsext/Event.c
index 2b54692..cabfebf 100644
--- a/datapath-windows/ovsext/Event.c
+++ b/datapath-windows/ovsext/Event.c
@@ -29,6 +29,7 @@
 LIST_ENTRY ovsEventQueueArr[OVS_MCAST_EVENT_TYPES_MAX];
 static NDIS_SPIN_LOCK eventQueueLockArr[OVS_MCAST_EVENT_TYPES_MAX];
 UINT32 ovsNumEventQueueArr[OVS_MCAST_EVENT_TYPES_MAX];
+DRIVER_CANCEL OvsCancelIrp;
 
 NTSTATUS
 OvsInitEventQueue()
-- 
2.10.2.windows.1


More information about the dev mailing list