*/
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);
}
/**