X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fcore%2Frtnetlink.c;h=0e86baf8f809043bc1db0412194aa8edc2f67c53;hb=6681712d67eef14c4ce793561c3231659153a320;hp=55b5624a4b00f3b1466a757c1194b2dacca1bd09;hpb=7a875903389f3492d4cb06faa1d55a1630e77c11;p=~andy%2Flinux diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 55b5624a4b0..0e86baf8f80 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -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; }