[ovs-git] Open vSwitch: datapath: Immediately exit on error in ovs_vport_cmd_set(). (master)

dev at openvswitch.org dev at openvswitch.org
Thu May 2 18:48:56 UTC 2013

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  17ec1d04252bad77e816ecddd09bbb6db30b3575 (commit)
      from  48f6fbe1972a4ab6d47e87913fcf537125e7dcb4 (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 17ec1d04252bad77e816ecddd09bbb6db30b3575
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=17ec1d04252bad77e816ecddd09bbb6db30b3575
Author: Jesse Gross <jesse at nicira.com>
datapath: Immediately exit on error in ovs_vport_cmd_set().
It is an error to try to change the type of a vport using the set
command. However, while we check that this is an error, we still
proceed to allocate memory which then gets freed immediately.
This stops processing after noticing the error, which does not
actually fix a bug but is more correct.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


Summary of changes:
 datapath/datapath.c |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

Open vSwitch

More information about the git mailing list