summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-04-17 02:00:53 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 07:29:05 +0200
commit6313c1e0992feaee56bc09b85042b3186041fa3c (patch)
treef75cda674d8f2b62bcdb09e59f8bc7010003a91f /net/sched
parent[RTNETLINK]: Hold rtnl_mutex during netlink dump callbacks (diff)
downloadlinux-6313c1e0992feaee56bc09b85042b3186041fa3c.tar.xz
linux-6313c1e0992feaee56bc09b85042b3186041fa3c.zip
[RTNETLINK]: Remove unnecessary locking in dump callbacks
Since we're now holding the rtnl during the entire dump operation, we can remove additional locking for rtnl protected data. This patch does that for all simple cases (dev_base_lock for dev_base walking, RCU protection for FIB rule dumping). Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions