Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / include / linux / etherdevice.h
index 745c988..e4b09d2 100644 (file)
@@ -92,9 +92,8 @@ static inline int is_broadcast_ether_addr(const u8 *addr)
  */
 static inline int is_valid_ether_addr(const u8 *addr)
 {
-       /* FF:FF:FF:FF:FF:FF is a multicast address so we don't need to
-        * explicitly check for it here. */
-       return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr);
+       return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr) &&
+              !is_broadcast_ether_addr(addr);
 }
 
 /**