[ovs-discuss] [PATCH 04/20] netdev: Change netdev_get_mtu() to return an error code.

Justin Pettit jpettit at nicira.com
Tue Jul 28 00:58:53 UTC 2009


On Jul 27, 2009, at 5:44 PM, Jesse Gross wrote:

> I believe that these comments are more general descriptions of how  
> the functions work from the perspective of the client of the API.   
> In this case, opening the netdev fails if it can't retrieve the MAC/ 
> MTU, so these functions will always succeed.  However, other  
> implementations could fail here and would return errors as described.

Yeah, it looks like the abstraction layer gets slipped into patch 18,  
and then these comments make a lot more sense.

Thanks,

--Justin






More information about the discuss mailing list