Boardcast address should also be detected by is_multicast_ether_addr(). Otherwise is_valid_ether_addr() is broken.
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- linux-2.6.13-chuyee/include/linux/etherdevice.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/etherdevice.h~multicast_addr_fix include/linux/etherdevice.h --- linux-2.6.13/include/linux/etherdevice.h~multicast_addr_fix 2005-08-30 14:23:39.000000000 +0800 +++ linux-2.6.13-chuyee/include/linux/etherdevice.h 2005-08-30 14:23:56.000000000 +0800 @@ -66,7 +66,7 @@ static inline int is_zero_ether_addr(con */ static inline int is_multicast_ether_addr(const u8 *addr) { - return ((addr[0] != 0xff) && (0x01 & addr[0])); + return 0x01 & addr[0]; } /** _ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html