summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2015-10-08 17:35:14 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-11 14:28:52 +0200
commit8057b3e7a1cfb4da61717ba609e1ea642bb82f9b (patch)
tree079695ca71bcde8fcb2b7ce89beec414d64082ce /net/dsa
parentnet: dsa: push prepare phase in port_fdb_add (diff)
downloadlinux-8057b3e7a1cfb4da61717ba609e1ea642bb82f9b.tar.xz
linux-8057b3e7a1cfb4da61717ba609e1ea642bb82f9b.zip
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>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 6f7f27e9410c..bb2bd3b56b16 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -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;
}