mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-27 14:11:04 +00:00
net: sched: integer overflow fix
Fixed integer overflow in function htb_dequeue Signed-off-by: Stefan Hasko <hasko.stevo@gmail.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8baf82b368
commit
d2fe85da52
@ -919,7 +919,7 @@ ok:
|
||||
q->now = ktime_to_ns(ktime_get());
|
||||
start_at = jiffies;
|
||||
|
||||
next_event = q->now + 5 * NSEC_PER_SEC;
|
||||
next_event = q->now + 5LLU * NSEC_PER_SEC;
|
||||
|
||||
for (level = 0; level < TC_HTB_MAXDEPTH; level++) {
|
||||
/* common case optimization - skip event handler quickly */
|
||||
|
Loading…
Reference in New Issue
Block a user