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:25:33 +0000 (09:25 -0800)
commitd5c9288d87bc65c33a0cde3ac295340ff18787d8
tree31c58fbc0e121f275112919eff6449466caa4e14
parent84b39f21468b9070ceb56ef9184ee9dd9d5d6f84
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