Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / include / linux / etherdevice.h
index e4b09d2..745c988 100644 (file)
@@ -92,8 +92,9 @@ static inline int is_broadcast_ether_addr(const u8 *addr)
  */
 static inline int is_valid_ether_addr(const u8 *addr)
 {
-       return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr) &&
-              !is_broadcast_ether_addr(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);
 }
 
 /**