]> err.no Git - linux-2.6/commit
[NET_SCHED]: Fix ingress locking
authorPatrick McHardy <kaber@trash.net>
Sun, 25 Mar 2007 05:13:25 +0000 (22:13 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Mar 2007 01:48:12 +0000 (18:48 -0700)
commit035832a2806408ff209a0cb94bd64ea7dcf4d222
treee8c545d1689dc655690d981d4be113c3ae26b8bc
parentd3fa76ee6b4a8dd0efda4e78e96f5b19533b3dea
[NET_SCHED]: Fix ingress locking

Ingress queueing uses a seperate lock for serializing enqueue operations,
but fails to properly protect itself against concurrent changes to the
qdisc tree. Use queue_lock for now since the real fix it quite intrusive.

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