]> Pileus Git - ~andy/linux/blobdiff - net/core/rtnetlink.c
vxlan: generalize forwarding tables
[~andy/linux] / net / core / rtnetlink.c
index 55b5624a4b00f3b1466a757c1194b2dacca1bd09..0e86baf8f809043bc1db0412194aa8edc2f67c53 100644 (file)
@@ -2112,7 +2112,7 @@ static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
        }
 
        addr = nla_data(tb[NDA_LLADDR]);
-       if (!is_valid_ether_addr(addr)) {
+       if (is_zero_ether_addr(addr)) {
                pr_info("PF_BRIDGE: RTM_NEWNEIGH with invalid ether address\n");
                return -EINVAL;
        }