summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJianbo Liu <jianbol@nvidia.com>2024-02-20 11:59:28 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-22 04:12:03 +0300
commit1fde0ca3a0de7e9f917668941156959dd5e9108b (patch)
tree70addaf895b22b1a1f77566508ee80a11faabeaf /drivers
parent61c43780e9444123410cd48c2483e01d2b8f75e8 (diff)
downloadlinux-1fde0ca3a0de7e9f917668941156959dd5e9108b.tar.xz
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions