net: dsa: use switchdev obj in port_fdb_del
For consistency with the FDB add operation, propagate the switchdev_obj_port_fdb structure in the DSA drivers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
1f36faf269
commit
8057b3e7a1
@@ -367,7 +367,7 @@ static int dsa_slave_port_fdb_del(struct net_device *dev,
|
||||
int ret = -EOPNOTSUPP;
|
||||
|
||||
if (ds->drv->port_fdb_del)
|
||||
ret = ds->drv->port_fdb_del(ds, p->port, fdb->addr, fdb->vid);
|
||||
ret = ds->drv->port_fdb_del(ds, p->port, fdb);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user