> http://lxr.linux.no/#linux+v2.6.32/include/linux/etherdevice.h#L47

Thanks, it seems I never looked at etherdevice.h before. This amount of code in
a .h-file looks suspicous to me, but there may be a reason. netdev will surely
tell :)

> Therefore it's inline (which is not soo bad, as it is pretty short).

At the moment, it is even irrelevant (that's why I mentioned it), because the
only usage of the function is here:

+       if (ops->ndo_validate_skb && ops->ndo_validate_skb(skb)) {

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to