aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-24 19:22:56 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-25 20:17:36 -0700
commitab2816295f991700b7e2ee117880751be8f705b4 (patch)
tree88c2beabdffbd2e3e041cf6826d47cf5fc52f858 /include/net/sch_generic.h
parentnet: sched: implement functions to put and flush all chains (diff)
downloadlinux-dev-ab2816295f991700b7e2ee117880751be8f705b4.tar.xz
linux-dev-ab2816295f991700b7e2ee117880751be8f705b4.zip
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 <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions