Subject: Re: linux-next: build failure after merge of the net-next tree

From: David Miller <[email-masked]>
Date: Mon, 20 Jan 2020 10:03:45 +0100 (CET)

From: Stephen Rothwell <[email-masked]>
Date: Thu, 16 Jan 2020 18:53:37 +1100

> After merging the net-next tree, today's linux-next build (sparc
> defconfig) failed like this:
> 
> ERROR: "__umoddi3" [net/core/pktgen.ko] undefined!
> 
> Caused by commit
> 
>   7786a1af2a6b ("pktgen: Allow configuration of IPv6 source address range")
> 
> I have reverted that commit for today.

Niu Xilei, you must fix this or else I will have to revert your pktgen
changes.

You cannot do direct division or modulus on 64-bit integer values,
instead you must use the various div*() helper macros so that it works
on all 32-bit systems too.

Thank you.