[ovs-git] Open vSwitch: datapath: Correctly return error if percpu allocation fails. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 14 00:08:41 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  94947cd83a796c4bf5a77fdf488662d0a0681c18 (commit)
      from  39376d06ffe60b4352e7d1a6f0a8d3b662d9aa39 (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 94947cd83a796c4bf5a77fdf488662d0a0681c18
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=94947cd83a796c4bf5a77fdf488662d0a0681c18
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Correctly return error if percpu allocation fails.
		
If the allocation of percpu stats fails when creating a new
datapath, we currently don't return the correct error code.  Since
we don't explicitly set it when the allocation fails it will keep
the value from the previous call.  This means we will return success
when the creation actually failed.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

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


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list