aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorPatrick McHardy <[email protected]>2008-11-24 23:46:08 +0000
committerDavid S. Miller <[email protected]>2008-11-24 23:46:08 +0000
commit3f0947c3ffaed33c1c38b79e4b17f75ba072d3e9 (patch)
treeaabc1d3fadbfbfb97b2fe56884fad70197e50d47 /net/ipv4/tcp_input.c
parentinfiniband: Kill directly reference of netdev->priv (diff)
downloadkernel-3f0947c3ffaed33c1c38b79e4b17f75ba072d3e9.tar.gz
kernel-3f0947c3ffaed33c1c38b79e4b17f75ba072d3e9.zip
pkt_sched: sch_drr: fix drr_dequeue loop()
Jarek Poplawski points out: If all child qdiscs of sch_drr are non-work-conserving (e.g. sch_tbf) drr_dequeue() will busy-loop waiting for skbs instead of leaving the job for a watchdog. Checking for list_empty() in each loop isn't necessary either, because this can never be true except the first time. Using non-work-conserving qdiscs as children of DRR makes no sense, simply bail out in that case. Reported-by: Jarek Poplawski <[email protected]> Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions