Skip to content
Commit f44f3408 authored by Jesse Gross's avatar Jesse Gross
Browse files

openvswitch: 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: default avatarJesse Gross <jesse@nicira.com>
parent f722406f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment