[ovs-git] Open vSwitch: lacp: Avoid valgrind warning in lacp_configure() if custom timing not used. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 9 21:29:14 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  2204c61a4f85b14685f6dca6bbfac8adac6e2810 (commit)
      from  3845a3fd623fe6fc96d5b10b2006b940cf81b9bb (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 2204c61a4f85b14685f6dca6bbfac8adac6e2810
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2204c61a4f85b14685f6dca6bbfac8adac6e2810
Author: Ben Pfaff <blp at nicira.com>
		
lacp: Avoid valgrind warning in lacp_configure() if custom timing not used.
		
The caller currently doesn't fill in s->custom_time unless it actually
wants a custom LACP time, but lacp_configure() still does a calculation
with it, provoking a warning from valgrind.  This eliminates the warning.

The calculated value was not actually used in this case, so this commit
does not fix a real bug.


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

Summary of changes:
 lib/lacp.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list