X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fetherdevice.h;h=cf3847edc50f6c0199965d338b6e687d36786b74;hb=4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9;hp=a1478258d00243c93fec79a8e66b07739caeea92;hpb=14d8ce70d5c2634982ca564039466bce70f4ff18;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index a1478258d00..cf3847edc50 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h @@ -25,6 +25,7 @@ #define _LINUX_ETHERDEVICE_H #include +#include #include #ifdef __KERNEL__ @@ -65,7 +66,7 @@ static inline int is_zero_ether_addr(const u8 *addr) */ static inline int is_multicast_ether_addr(const u8 *addr) { - return addr[0] & 0x01; + return ((addr[0] != 0xff) && (0x01 & addr[0])); } /**