diff options
author | Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com> | 2022-05-05 17:09:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-09 11:58:20 +0100 |
commit | ca4567f1e6f660f86fcd04f3563c0045b0d4772f (patch) | |
tree | d8a1c7a8d1bb5135ea49cfeeaebacfbf1e29a3b3 /drivers/net/ethernet/mscc | |
parent | 6da3c47264b2083006262f9c733b6597bf191d9b (diff) |
rtnetlink: add extack support in fdb del handlers
Add extack support to .ndo_fdb_del in netdevice.h and
all related methods.
Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc')
-rw-r--r-- | drivers/net/ethernet/mscc/ocelot_net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot_net.c b/drivers/net/ethernet/mscc/ocelot_net.c index 247bc105bdd2..616d8127ef51 100644 --- a/drivers/net/ethernet/mscc/ocelot_net.c +++ b/drivers/net/ethernet/mscc/ocelot_net.c @@ -774,7 +774,8 @@ static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, - const unsigned char *addr, u16 vid) + const unsigned char *addr, u16 vid, + struct netlink_ext_ack *extack) { struct ocelot_port_private *priv = netdev_priv(dev); struct ocelot_port *ocelot_port = &priv->port; |