[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180304.181316.1591545814206405385.davem@davemloft.net>
Date: Sun, 04 Mar 2018 18:13:16 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com, shalomt@...lanox.com,
mlxsw@...lanox.com
Subject: Re: [patch net] mlxsw: spectrum_switchdev: Check success of FDB
add operation
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 1 Mar 2018 11:37:05 +0100
> From: Shalom Toledo <shalomt@...lanox.com>
>
> Until now, we assumed that in case of error when adding FDB entries, the
> write operation will fail, but this is not the case. Instead, we need to
> check that the number of entries reported in the response is equal to
> the number of entries specified in the request.
>
> Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
> Reported-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Shalom Toledo <shalomt@...lanox.com>
> Reviewed-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists