]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pkt_sched: Protect gen estimators under est_lock.
authorJarek Poplawski <jarkao2@gmail.com>
Wed, 13 Aug 2008 22:20:24 +0000 (15:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Aug 2008 22:20:24 +0000 (15:20 -0700)
commitd4766692e72422f3b0f0e9ac6773d92baad07d51
treee2868d937716e6e3d185cf37150204a64c62764c
parentb9a3b1102bc80b4044224494100f67de132d5448
pkt_sched: Protect gen estimators under est_lock.

gen_kill_estimator() required rtnl_lock() protection, but since it is
moved to an RCU callback __qdisc_destroy() let's use est_lock instead.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/gen_estimator.c