Re: [ovs-dev] [PATCH] netlink-socket: Let the kernel choose Netlink pids for us.

2011-11-28 Thread Ben Pfaff
Thank you. I pushed this. On Mon, Nov 28, 2011 at 11:08:21AM -0800, Ethan Jackson wrote: > Looks good. > > Ethan > > On Mon, Nov 14, 2011 at 10:11, Ben Pfaff wrote: > > The Netlink code in the Linux kernel has been willing to choose unique > > Netlink pids for userspace sockets since at least

Re: [ovs-dev] [PATCH] netlink-socket: Let the kernel choose Netlink pids for us.

2011-11-28 Thread Ethan Jackson
Looks good. Ethan On Mon, Nov 14, 2011 at 10:11, Ben Pfaff wrote: > The Netlink code in the Linux kernel has been willing to choose unique > Netlink pids for userspace sockets since at least 2.4.36 and probably > earlier.  There's no value in choosing them ourselves. > > This simplifies the code

[ovs-dev] [PATCH] netlink-socket: Let the kernel choose Netlink pids for us.

2011-11-14 Thread Ben Pfaff
The Netlink code in the Linux kernel has been willing to choose unique Netlink pids for userspace sockets since at least 2.4.36 and probably earlier. There's no value in choosing them ourselves. This simplifies the code and eliminates the possibility of exhausting our supply of Netlink PIDs. ---