diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-05-03 20:46:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-15 07:50:02 -0700 |
commit | 734bf48fe5276f319464fd30dc4a046a29d2b94a (patch) | |
tree | d4f2e7e6e08efc89fb79f0a067524da23e847737 /net/Makefile | |
parent | 428984c1c0dcbbb5b1409c4407f05f349e883681 (diff) |
sch_htb: remove from event queue in htb_parent_to_leaf()
[ Upstream commit: 3ba08b00e0d8413d79be9cab8ec085ceb6ae6fd6 ]
There is lack of removing a class from the event queue while changing
from parent to leaf which can cause corruption of this rb tree. This
patch fixes a bug introduced by my patch: "sch_htb: turn intermediate
classes into leaves" commit: 160d5e10f87b1dc88fd9b84b31b1718e0fd76398.
Many thanks to Jan 'yanek' Bortl for finding a way to reproduce this
rare bug and narrowing the test case, which made possible proper
diagnosing.
This patch is recommended for all kernels starting from 2.6.20.
Reported-and-tested-by: Jan 'yanek' Bortl <yanek@ya.bofh.cz>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions