]> git.karo-electronics.de Git - linux-beck.git/commit
openvswitch: Fix ovs_vport_cmd_del return value on success
authorRich Lane <rlane@bigswitch.com>
Fri, 8 Feb 2013 17:30:23 +0000 (09:30 -0800)
committerJesse Gross <jesse@nicira.com>
Sat, 23 Feb 2013 01:01:49 +0000 (17:01 -0800)
commit734907e82d21a75a514b80164185427a832a00c0
tree6b8dbf9a592689862464581e1f70c21b1b0c0b52
parent19f949f52599ba7c3f67a5897ac6be14bfcb1200
openvswitch: Fix ovs_vport_cmd_del return value on success

If the pointer does not represent an error then the PTR_ERR macro may still
return a nonzero value. The fix is the same as in ovs_vport_cmd_set.

Signed-off-by: Rich Lane <rlane@bigswitch.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c