[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151116.152447.696343346331416928.davem@davemloft.net>
Date: Mon, 16 Nov 2015 15:24:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dragos@...ocode.com
Cc: netdev@...r.kernel.org, sridhar.samudrala@...el.com,
jiri@...lanox.com
Subject: Re: [PATCH] net: switchdev: fix return code of fdb_dump stub
From: Dragos Tatulea <dragos@...ocode.com>
Date: Mon, 16 Nov 2015 10:52:48 +0100
> 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 <dragos@...ocode.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists