diff options
Diffstat (limited to 'net/dsa/slave.c')
-rw-r--r-- | net/dsa/slave.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index b0b8da0f5af8..d76e62b8dc9c 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c | |||
@@ -382,6 +382,9 @@ static int dsa_slave_port_fdb_dump(struct net_device *dev, | |||
382 | u16 vid = 0; | 382 | u16 vid = 0; |
383 | int ret; | 383 | int ret; |
384 | 384 | ||
385 | if (ds->drv->port_fdb_dump) | ||
386 | return ds->drv->port_fdb_dump(ds, p->port, fdb, cb); | ||
387 | |||
385 | if (!ds->drv->port_fdb_getnext) | 388 | if (!ds->drv->port_fdb_getnext) |
386 | return -EOPNOTSUPP; | 389 | return -EOPNOTSUPP; |
387 | 390 | ||