]> Git Repo - linux.git/commit
pkt_sched: fq: avoid hang when quantum 0
authorKenneth Klette Jonassen <[email protected]>
Tue, 3 Feb 2015 16:49:18 +0000 (17:49 +0100)
committerDavid S. Miller <[email protected]>
Thu, 5 Feb 2015 04:07:39 +0000 (20:07 -0800)
commit3725a269815ba6dbb415feddc47da5af7d1fac58
treeae3db9b9e037cb6afeb85460e0cd0038eec3b8a5
parentdb27ebb111e9f69efece08e4cb6a34ff980f8896
pkt_sched: fq: avoid hang when quantum 0

Configuring fq with quantum 0 hangs the system, presumably because of a
non-interruptible infinite loop. Either way quantum 0 does not make sense.

Reproduce with:
sudo tc qdisc add dev lo root fq quantum 0 initial_quantum 0
ping 127.0.0.1

Signed-off-by: Kenneth Klette Jonassen <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_fq.c
This page took 0.049227 seconds and 4 git commands to generate.