[ovs-git] Open vSwitch: vswitchd: Fix 100% CPU usage with bonds and --fake-proc-net. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Aug 26 17:54:24 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, master has been updated
       via  e5ae7df8c7f44cb2d6f42daaab1d3c26c7a88ae3 (commit)
      from  3161c659b79c9bef131628fe6f37d207ed17afdf (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 e5ae7df8c7f44cb2d6f42daaab1d3c26c7a88ae3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e5ae7df8c7f44cb2d6f42daaab1d3c26c7a88ae3
Author: Ben Pfaff <blp at nicira.com>
		
vswitchd: Fix 100% CPU usage with bonds and --fake-proc-net.
		
The current date in milliseconds since the epoch is ~1,282,841,552,000,
which is greater than LONG_MAX of 4,294,967,295 on 32-bit systems, so
no matter what was stored into bond_next_fake_iface_update, it would always
appear to be expired.  It really needs to be a 64-bit number.  (This was
just a typo really.)

Since XenServer 5.5 requires --fake-proc-net, this probably fixes an
important bug there.

Reported-by: Luiz Henrique Ozaki <luiz.ozaki at gmail.com>


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

Summary of changes:
 AUTHORS           |    1 +
 vswitchd/bridge.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list