net: use rcu for network scheduler API
authorstephen hemminger <shemminger@vyatta.com>
Tue, 10 Nov 2009 07:54:49 +0000 (07:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Nov 2009 06:26:30 +0000 (22:26 -0800)
commitf1e9016da6d0f16551d90085758ae45d26826118
treec68bd66565e2e78704cfc366ff022adaca75be55
parent9e067597ee0e51a07bc158e9e2703ca676920e8b
net: use rcu for network scheduler API

Use RCU to walk list of network devices in qdisc dump.
This could be optimized for large number of devices.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c