]> Git Repo - linux.git/commit
net: sched: protect block idr with spinlock
authorVlad Buslov <[email protected]>
Mon, 24 Sep 2018 16:22:56 +0000 (19:22 +0300)
committerDavid S. Miller <[email protected]>
Wed, 26 Sep 2018 03:17:36 +0000 (20:17 -0700)
commitab2816295f991700b7e2ee117880751be8f705b4
tree88c2beabdffbd2e3e041cf6826d47cf5fc52f858
parentf00234367b64503d2436bb3d0f37bbe98ac2cc97
net: sched: protect block idr with spinlock

Protect block idr access with spinlock, instead of relying on rtnl lock.
Take tn->idr_lock spinlock during block insertion and removal.

Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/cls_api.c
This page took 0.054673 seconds and 4 git commands to generate.