Commit 85c4407
authored
net-tcp_bbr: v3: use correct 64-bit division
This commit addresses an issue with integer division on 32-bit
system builds, which resulted in undefined symbol errors
during the build process.
Errors observed:
arm:
ERROR: modpost: "__aeabi_uldivmod" [net/ipv4/tcp_bbr.ko] undefined!
ERROR: modpost: "__aeabi_ldivmod" [net/ipv4/tcp_bbr.ko] undefined!
x86, mips, ppc:
ERROR: modpost: "__udivdi3" [net/ipv4/tcp_bbr.ko] undefined!
ERROR: modpost: "__divdi3" [net/ipv4/tcp_bbr.ko] undefined!
The fix ensures proper 64-bit division on affected architectures.
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>1 parent 001a430 commit 85c4407
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| |||
0 commit comments