eth: Make is_link_local() consistent with other address tests
[linux-block.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_main.c
index b54bc40f00b0dbb8c4557b90c2d1c0e0bbd654b1..690535a0322fd762e322ab6e138e593ca443cd38 100644 (file)
@@ -6953,7 +6953,7 @@ static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
                return -EINVAL;
        }
 
-       if (is_unicast_ether_addr(addr) || is_link_local(addr)) {
+       if (is_unicast_ether_addr(addr) || is_link_local_ether_addr(addr)) {
                u32 rar_uc_entries = IXGBE_MAX_PF_MACVLANS;
 
                if (netdev_uc_count(dev) < rar_uc_entries)