Nikolay Aleksandrov 0681a28264 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>
2014-01-23 16:10:24 -08:00
..
2013-11-07 19:24:20 +01:00
2014-01-15 15:07:36 +07:00
2013-12-08 18:47:25 -08:00
2014-01-23 16:10:24 -08:00
2014-01-13 14:29:49 -08:00
2013-11-15 14:05:15 -08:00
2014-01-15 14:51:22 -08:00
2013-12-06 15:22:05 -05:00
2013-12-10 08:48:15 +01:00
2013-12-20 09:34:54 -08:00