datapath: Fix ovs_vport_cmd_del return value on success
authorRich Lane <rlane@bigswitch.com>
Fri, 8 Feb 2013 17:11:28 +0000 (09:11 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 8 Feb 2013 17:22:17 +0000 (09:22 -0800)
commitb57d5819ca17da7eb237e5f9343c780937776438
tree2caf027a4dae5ba1c4905103b896d6cea7ba98dd
parent0aa52d88bdf6bc22fed80beb175a6dfe420dfabd
datapath: 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>
datapath/datapath.c