From: Eric Dumazet Date: Mon, 2 Jan 2012 05:47:57 +0000 (+0000) Subject: sch_qfq: fix overflow in qfq_update_start() X-Git-Tag: v3.2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bafcac3238758203703bdd4abe9c1f38d259584;p=pandora-kernel.git sch_qfq: fix overflow in qfq_update_start() grp->slot_shift is between 22 and 41, so using 32bit wide variables is probably a typo. This could explain QFQ hangs Dave reported to me, after 2^23 packets ? (23 = 64 - 41) Reported-by: Dave Taht Signed-off-by: Eric Dumazet CC: Stephen Hemminger CC: Dave Taht Signed-off-by: David S. Miller --- Reading git-diff-tree failed