[ovs-git] Open vSwitch: ovsdb: Provide helper function to determine if IDL has ever connected (next)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 14 21:49:21 UTC 2010


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, next has been updated
       via  f3d645212a60b4c0e99e66488ab8ef9fd1e8d8cb (commit)
       via  5ff22a0642fb299140e7b3e62588be692386c0b8 (commit)
      from  eb8d3ed67cf66f571973d7ad324e607013c18e44 (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 f3d645212a60b4c0e99e66488ab8ef9fd1e8d8cb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f3d645212a60b4c0e99e66488ab8ef9fd1e8d8cb
Author: Justin Pettit <jpettit at nicira.com>
		
ovsdb: Provide helper function to determine if IDL has ever connected
		


commit 5ff22a0642fb299140e7b3e62588be692386c0b8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5ff22a0642fb299140e7b3e62588be692386c0b8
Author: Justin Pettit <jpettit at nicira.com>
		
ovs-brcompatd: Don't consume CPU if can't connect to config db
		
When ovs-brcompatd can't connect to the database, the "ovs" variable
is never set.  The function "brc_recv_update" takes care of draining
brcompat kernel module's netlink messages.  When the netlink message
comes in to modify the bridge, that function never gets called, so a
netlink message always appears to be ready and we consume 100% CPU
looping.

With this commit, we log a warning and drop the request on the floor.

Bug #2373


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

Summary of changes:
 lib/ovsdb-idl.c          |    6 ++++++
 lib/ovsdb-idl.h          |    2 ++
 vswitchd/ovs-brcompatd.c |   16 +++++++++++-----
 3 files changed, 19 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list