Re: [PATCH] net: sched: integer overflow fix

2012-12-22 Thread David Miller
From: Eric Dumazet Date: Fri, 21 Dec 2012 17:16:37 -0800 > On Sat, 2012-12-22 at 02:04 +0100, Stefan Hasko wrote: >> Sorry, I did not realize different sizes casting problem, now it's clear to >> me. Thanks for help. >> >> Fixed integer overflow in function htb_dequeue >> >> Signed-off-by: Ste

Re: [PATCH] net: sched: integer overflow fix

2012-12-21 Thread Eric Dumazet
On Sat, 2012-12-22 at 02:04 +0100, Stefan Hasko wrote: > Sorry, I did not realize different sizes casting problem, now it's clear to > me. Thanks for help. > > Fixed integer overflow in function htb_dequeue > > Signed-off-by: Stefan Hasko > --- > net/sched/sch_htb.c |2 +- > 1 file changed

[PATCH] net: sched: integer overflow fix

2012-12-21 Thread Stefan Hasko
Sorry, I did not realize different sizes casting problem, now it's clear to me. Thanks for help. Fixed integer overflow in function htb_dequeue Signed-off-by: Stefan Hasko --- net/sched/sch_htb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sched/sch_htb.c b/net/s

Re: [PATCH] net: sched: integer overflow fix

2012-12-21 Thread Eric Dumazet
On Fri, 2012-12-21 at 14:51 -0800, Eric Dumazet wrote: > On Fri, 2012-12-21 at 21:39 +0100, Stefan Hasko wrote: > > Fixed integer overflow in function htb_dequeue > > > > Signed-off-by: Stefan Hasko > > --- > > net/sched/sch_htb.c |2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] net: sched: integer overflow fix

2012-12-21 Thread Eric Dumazet
On Fri, 2012-12-21 at 21:39 +0100, Stefan Hasko wrote: > Fixed integer overflow in function htb_dequeue > > Signed-off-by: Stefan Hasko > --- > net/sched/sch_htb.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c > index d2922

[PATCH] net: sched: integer overflow fix

2012-12-21 Thread Stefan Hasko
Fixed integer overflow in function htb_dequeue Signed-off-by: Stefan Hasko --- net/sched/sch_htb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index d2922c0..1bd3faa 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c @@