Skip to content
Commit 0890cf6c authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

switchdev: fix return value of switchdev_port_fdb_dump in case of error



switchdev_port_fdb_dump is used as .ndo_fdb_dump. Its return value is
idx, so we cannot return errval.

Fixes: 45d4122c ("switchdev: add support for fdb add/del/dump via switchdev_port_obj ops.")
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Acked-by: default avatarSridhar Samudrala <sridhar.samudrala@intel.com>
Acked-by: default avatarScott <Feldman&lt;sfeldma@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6588879
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment