From: Paul Blakey <pa...@mellanox.com> Date: Wed, 30 May 2018 11:29:15 +0300
> When we fail to modify a rule, we incorrectly release the idr handle > of the unmodified old rule. > > Fix that by checking if we need to release it. > > Fixes: fe2502e49b58 ("net_sched: remove cls_flower idr on failure") > Reported-by: Vlad Buslov <vla...@mellanox.com> > Reviewed-by: Roi Dayan <r...@mellanox.com> > Acked-by: Jiri Pirko <j...@mellanox.com> > Signed-off-by: Paul Blakey <pa...@mellanox.com> Applied and queued up for -stable.