On Tue, Jan 8, 2013 at 3:41 AM, Jarno Rajahalme <jarno.rajaha...@nsn.com> wrote: > Userspace code will need to keep on checking for both ENODEV and ENOENT as > long as older kernel modules are around. > > Signed-off-by: Jarno Rajahalme <jarno.rajaha...@nsn.com>
OVS userspace actually uses this distinction to determine whether it is the datapath or the port that doesn't exist. For example, see netdev_vport_set_config(). In general, it's also usually helpful to have more information about the cause of the error as long as it doesn't expose implementation details. Also, would you mind keeping the subject of your patches to around 70 characters in the future so they don't wrap? _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev