Searched hist:"8258 d2da9f9f521dce7019e018360c28d116354e" (Results 1 – 1 of 1) sorted by relevance
/linux/net/sched/ |
H A D | cls_flower.c | diff 8258d2da9f9f521dce7019e018360c28d116354e Wed May 30 10:29:15 CEST 2018 Paul Blakey <paulb@mellanox.com> cls_flower: Fix incorrect idr release when failing to modify rule
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 <vladbu@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|