Hi, Eric Dumazet <eric.duma...@gmail.com> writes:
[...] > > Your mixing of s64 and u64 is disturbing. > > do_div() handles u64, not s64. > > div64_s64() might be needed in place of do_div() I wasn't very comfortable about the signal juggling either. Didn't know about div64_s64(), looks much better. Will fix, thanks. Cheers, -- Vinicius