[PATCH] staging: batman-adv: Use linux/etherdevice.h address helper functions

Sven Eckelmann sven.eckelmann at gmx.de
Wed Nov 3 10:12:12 UTC 2010

On Wednesday 03 November 2010 10:59:02 you wrote:
> Replace custom ethernet address check functions by calls to the helpers
> in linux/etherdevice.h

Have you proven that the addresses are always two bytes aligned in memory? 
Afaik this function needs it.

> In one case where the address was tested for broadcast and multicast
> address, the broadcast address check can be omitted as broadcast is also
> a multicast address.

We need to distinguish between these two types for different optimizations 
(research is currently done for multicast over mesh - but currently not part 
of batman-adv).

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20101103/455e18e9/attachment.asc>

More information about the devel mailing list