[ovs-git] Open vSwitch: netlink-socket: Let the kernel choose Netlink pids for us. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Nov 28 20:32:54 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  2c5a6834513540a494bfb3bfc48b8a91c4126a11 (commit)
      from  5fcc0d004ae0aa080deed51c842d074a83ec1f67 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2c5a6834513540a494bfb3bfc48b8a91c4126a11
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2c5a6834513540a494bfb3bfc48b8a91c4126a11
Author: Ben Pfaff <blp at nicira.com>
		
netlink-socket: Let the kernel choose Netlink pids for us.
		
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.


-----------------------------------------------------------------------

Summary of changes:
 lib/netlink-socket.c |   91 ++++++++++----------------------------------------
 1 files changed, 18 insertions(+), 73 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list