[ovs-dev] [PATCH] openvswitch: use -EEXIST as return error to be more precise

Jesse Gross jesse at nicira.com
Wed May 29 18:02:18 UTC 2013


On Tue, May 28, 2013 at 3:31 PM, Fan Du <fan.du at windriver.com> wrote:
> ovs_vport_cmd_new create a new vport with port num specified by user.
> when this port num is already occupied, it's more clear to return
> -EEXIST as the reason than -EBUSY.
>
> Signed-off-by: Fan Du <fan.du at windriver.com>

This error code is part of the userspace ABI so you can't change it
without breaking existing applications.



More information about the dev mailing list