Searched hist:"1 fde0ca3a0de7e9f917668941156959dd5e9108b" (Results 1 – 1 of 1) sorted by relevance
/linux/net/sched/ |
H A D | cls_flower.c | diff 1fde0ca3a0de7e9f917668941156959dd5e9108b Tue Feb 20 09:59:28 CET 2024 Jianbo Liu <jianbol@nvidia.com> net/sched: flower: Add lock protection when remove filter handle
As IDR can't protect itself from the concurrent modification, place idr_remove() under the protection of tp->lock.
Fixes: 08a0063df3ae ("net/sched: flower: Move filter handle initialization earlier") Signed-off-by: Jianbo Liu <jianbol@nvidia.com> Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Link: https://lore.kernel.org/r/20240220085928.9161-1-jianbol@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|