From: Jiri Pirko <[email protected]>
Date: Wed,  8 Feb 2017 10:39:16 +0100

> From: Jiri Pirko <[email protected]>
> 
> No rollback is needed since the chain is in consistent state and
> mlxsw_afa_block_destroy() will take care of putting it away. So remove
> the one we have now which is wrong. Also move the set of 'finished' flag
> to the beginning of the function, because the block is certainly unusable
> for future action addition no matter if the function succeeds or not.
> 
> Reported-by: Dan Carpenter <[email protected]>
> Fixes: 4cda7d8d7098 ("mlxsw: core: Introduce flexible actions support")
> Signed-off-by: Jiri Pirko <[email protected]>
> Acked-by: Ido Schimmel <[email protected]>

Applied.

Reply via email to