diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-10-08 11:35:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-11 05:28:50 -0700 |
commit | 1f36faf26943f5f5fc1d1a7be6ce252d2ff25e1a (patch) | |
tree | 3b36239e3821ef482868190b74f63187ef559807 /net | |
parent | 146a32067b3fde1424d737d7fb333eb0951e6419 (diff) | |
download | linux-stable-1f36faf26943f5f5fc1d1a7be6ce252d2ff25e1a.tar.gz linux-stable-1f36faf26943f5f5fc1d1a7be6ce252d2ff25e1a.tar.bz2 linux-stable-1f36faf26943f5f5fc1d1a7be6ce252d2ff25e1a.zip |
net: dsa: push prepare phase in port_fdb_add
Now that the prepare phase is pushed down to the DSA drivers, propagate
it to the port_fdb_add function.
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')
-rw-r--r-- | net/dsa/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index 48e8c15a2611..6f7f27e9410c 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -354,7 +354,7 @@ static int dsa_slave_port_fdb_add(struct net_device *dev, if (switchdev_trans_ph_prepare(trans)) ret = ds->drv->port_fdb_prepare(ds, p->port, fdb, trans); else - ret = ds->drv->port_fdb_add(ds, p->port, fdb->addr, fdb->vid); + ret = ds->drv->port_fdb_add(ds, p->port, fdb, trans); return ret; } |