pkt_sched: gen_estimator: Fix signed integers right-shifts.
authorJarek Poplawski <[email protected]>
Tue, 26 May 2009 05:47:01 +0000 (22:47 -0700)
committerDavid S. Miller <[email protected]>
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 <[email protected]>

Signed-off-by: Jarek Poplawski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/core/gen_estimator.c