Mon, Nov 16, 2015 at 10:52:48AM CET, dra...@endocode.com wrote: >rtnl_fdb_dump always expects an index to be returned by the ndo_fdb_dump op, >but when CONFIG_NET_SWITCHDEV is off, it returns an error. > >Fix that by returning the given unmodified idx. > >A similar fix was 0890cf6cb6ab ("switchdev: fix return value of >switchdev_port_fdb_dump in case of error") but for the CONFIG_NET_SWITCHDEV=y >case. > >Fixes: 45d4122ca7cd ("switchdev: add support for fdb add/del/dump via >switchdev_port_obj ops.") >Signed-off-by: Dragos Tatulea <dra...@endocode.com>
Acked-by: Jiri Pirko <j...@mellanox.com> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html