From: Jiri Pirko <[email protected]>
Date: Thu, 18 May 2017 13:03:52 +0200

> From: Ido Schimmel <[email protected]>
> 
> In case we got an FDB notification for a port that doesn't exist we
> execute an FDB entry delete to prevent it from re-appearing the next
> time we poll for notifications.
> 
> If the operation failed we would trigger a NULL pointer dereference as
> 'mlxsw_sp_port' is NULL.
> 
> Fix it by reporting the error using the underlying bus device instead.
> 
> Fixes: 12f1501e7511 ("mlxsw: spectrum: remove FDB entry in case we get 
> unknown object notification")
> Signed-off-by: Ido Schimmel <[email protected]>
> Signed-off-by: Jiri Pirko <[email protected]>

Applied, thank you.

Reply via email to