|
@@ -597,6 +597,9 @@ static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
|
|
if (!vlan->port->passthru)
|
|
if (!vlan->port->passthru)
|
|
return -EOPNOTSUPP;
|
|
return -EOPNOTSUPP;
|
|
|
|
|
|
|
|
+ if (flags & NLM_F_REPLACE)
|
|
|
|
+ return -EOPNOTSUPP;
|
|
|
|
+
|
|
if (is_unicast_ether_addr(addr))
|
|
if (is_unicast_ether_addr(addr))
|
|
err = dev_uc_add_excl(dev, addr);
|
|
err = dev_uc_add_excl(dev, addr);
|
|
else if (is_multicast_ether_addr(addr))
|
|
else if (is_multicast_ether_addr(addr))
|