netem: use 64 bit divide by rate
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 14 Nov 2017 19:27:01 +0000 (11:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Nov 2017 05:14:16 +0000 (14:14 +0900)
commitbce552fd6f6e37f9567c85c4f0d6d1987eef379f
treef8c52d452828447346c96577b5d52ac9ca75bf3e
parent6670e152447732ba90626f36dfc015a13fbf150e
netem: use 64 bit divide by rate

Since times are now expressed in nanosecond, need to now do
true 64 bit divide. Old code would truncate rate at 32 bits.
Rename function to better express current usage.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c