diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-01-02 05:47:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-03 17:58:23 (GMT) |
commit | 6bafcac3238758203703bdd4abe9c1f38d259584 (patch) | |
tree | b5413ecd31f0fa3229b04bd415c870041fe30d95 /drivers/net/ethernet/freescale | |
parent | 115e8e705e4be071b9e06ff72578e3b603f2ba65 (diff) | |
download | linux-6bafcac3238758203703bdd4abe9c1f38d259584.tar.xz |
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 <dave.taht@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Stephen Hemminger <shemminger@vyatta.com>
CC: Dave Taht <dave.taht@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions