[ovs-dev] [PATCH 4/4 v4] netlink-socket.c: implement get pid support on Windows

Ben Pfaff blp at nicira.com
Tue Aug 19 21:29:22 UTC 2014


On Tue, Aug 19, 2014 at 01:51:54PM -0700, Nithin Raju wrote:
> To verify if the netlink support in the kernel works, I updated
> the netlink-socket.c code to get the PID for a given device
> descriptor.
> 
> In the existing code, userspace sets the PID, which will not be
> unique across different processes. So, it is better for the
> kernel to generate the PID and give it back to userspace.
> 
> dpif-linux.c was ported to Windows (similar to Alin's change in
> the cloudbase repo) and was able to exercise the code changes
> in netlink-socket.c to read the PID. dpif-linux.c changes are
> not being checked in.
> 
> Signed-off-by: Nithin Raju <nithin at vmware.com>
> Acked-by: Alin Serdean <aserdean at cloudbasesolutions.com>
> Acked-by: Ankur Sharma <ankursharma at vmware.com>
> Acked-by: Saurabh Shah <ssaurabh at vmware.com>
> Reported-at: https://github.com/openvswitch/ovs-issues/issues/18

All applied, thank you!



More information about the dev mailing list