aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorJarek Poplawski <[email protected]>2008-08-27 09:25:17 +0000
committerDavid S. Miller <[email protected]>2008-08-27 09:25:17 +0000
commitf6f9b93f1624206c802ac9162c9302edaf59bfd9 (patch)
tree643bd211bf909118311138e588a78834fad7a40d /net/ipv4/tcp_output.c
parentpkt_sched: Use rcu_assign_pointer() to change dev_queue->qdisc (diff)
downloadkernel-f6f9b93f1624206c802ac9162c9302edaf59bfd9.tar.gz
kernel-f6f9b93f1624206c802ac9162c9302edaf59bfd9.zip
pkt_sched: Fix gen_estimator locks
While passing a qdisc root lock to gen_new_estimator() and gen_replace_estimator() dev could be deactivated or even before grafting proper root qdisc as qdisc_sleeping (e.g. qdisc_create), so using qdisc_root_lock() is not enough. This patch adds qdisc_root_sleeping_lock() for this, plus additional checks, where necessary. Signed-off-by: Jarek Poplawski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions