pkt_sched: gen_estimator: Fix signed integers right-shifts.
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 26 May 2009 05:47:01 +0000 (22:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 May 2009 05:47:01 +0000 (22:47 -0700)
commita1dcb6628b9489504a3be2515580fc4de891f94a
treeb78b964c1264b43f1c2899a27c48daf1a254802d
parentdfa9264fe1a0c1b46e11c6a4cd3251cd5e1afb71
pkt_sched: gen_estimator: Fix signed integers right-shifts.

Right-shifts of signed integers are implementation-defined so unportable.

With feedback from: Eric Dumazet <dada1@cosmosbay.com>

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/gen_estimator.c