diff options
author | 2014-01-23 23:43:43 +0100 | |
---|---|---|
committer | 2014-01-23 16:10:24 -0800 | |
commit | 0681a28264dcf948e0236adb7bf505a638c4dec1 (patch) | |
tree | 3c458ee6d99ef77af54bbb4a4b556f533e67aa3f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtnetlink: add missing IFLA_BOND_AD_INFO_UNSPEC (diff) | |
download | linux-dev-0681a28264dcf948e0236adb7bf505a638c4dec1.tar.xz linux-dev-0681a28264dcf948e0236adb7bf505a638c4dec1.zip |
bonding: fix u64 division
After the option conversion downdelay and updelay divide a u64
and on a 32 bit this causes the following errors:
ERROR: "__udivdi3" [drivers/net/bonding/bonding.ko] undefined!
ERROR: "__umoddi3" [drivers/net/bonding/bonding.ko] undefined!
Fix it by using a normal int instead because newval->value is capped
at INT_MAX by the way the option is defined.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions