]> git.baikalelectronics.ru Git - kernel.git/commit
[NET_SCHED]: ingress: switch back to using ingress_lock
authorPatrick McHardy <kaber@trash.net>
Tue, 17 Apr 2007 00:07:08 +0000 (17:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:08 +0000 (22:29 -0700)
commit9815df3a86901810086ca7df2b6ecf0d86259652
tree7b86a2e8623400c290c886ef83c573cdf49da3e8
parent37d68d16a22ff001e5a812807a0e6aafc84de58f
[NET_SCHED]: ingress: switch back to using ingress_lock

Switch ingress queueing back to use ingress_lock. qdisc_lock_tree now locks
both the ingress and egress qdiscs on the device. All changes to data that
might be used on both ingress and egress needs to be protected by using
qdisc_lock_tree instead of manually taking dev->queue_lock. Additionally
the qdisc stats_lock needs to be initialized to ingress_lock for ingress
qdiscs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/sched/cls_route.c
net/sched/sch_api.c
net/sched/sch_generic.c
net/sched/sch_ingress.c