datapath-windows: event read should not fail when no events
authorNithin Raju <nithin@vmware.com>
Sat, 18 Oct 2014 18:39:35 +0000 (11:39 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 21 Oct 2014 18:42:52 +0000 (11:42 -0700)
commitdeda30a9995fc4adef87ef07f7e77b86b04fbfca
treef5128f6e778a22d160979a5649977d814574922a
parent72d52166328f52c301099efc57902c5c3c73ac68
datapath-windows: event read should not fail when no events

The semantics are read operation are generally to return 0 bytes and
STATUS_SUCCESS when there are no events.

Also, added a fix to assign the PID to the synthetic OVS_MESSAGE formed
for the command validation.

Signed-off-by: Nithin Raju <nithin@vmware.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/Datapath.c