diff options
author | Jesse Gross <jesse@nicira.com> | 2013-05-13 19:15:26 +0400 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-06-15 02:09:09 +0400 |
commit | f44f340883388b57fe03edfb0982e038e57a992c (patch) | |
tree | dc09348aa79668d45e3e48faea332feebae9bdd8 /net/openvswitch/vport-netdev.h | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | linux-f44f340883388b57fe03edfb0982e038e57a992c.tar.xz |
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: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/vport-netdev.h')
0 files changed, 0 insertions, 0 deletions