datapath-windows: Make GET_PID a separate IOCTL
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Thu, 2 Apr 2015 19:35:32 +0000 (19:35 +0000)
committerBen Pfaff <blp@nicira.com>
Thu, 2 Apr 2015 19:41:50 +0000 (12:41 -0700)
commit190cf5338956c53596f60b20fa7672ba052ee815
tree4cbd90605677cf32e82b9eabbabb4e06b44bc9cf
parentb3cceba0b7c4013f46b01f8987e8716d7857c6db
datapath-windows: Make GET_PID a separate IOCTL

Added a new IOCTL in order to retrieve the PID from the kernel datapath.
The new method uses a direct and cleaner way, as opposed to the old way
of using a Netlink transaction, avoiding the unnecessary overhead.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/31
Acked-by: Nithin Raju <nithin@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Tested-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/include/OvsDpInterfaceExt.h
datapath-windows/ovsext/Datapath.c
datapath-windows/ovsext/Flow.c
lib/netlink-socket.c