lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 23 Jan 2014 16:12:01 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	nikolay@...hat.com
Cc:	netdev@...r.kernel.org, zoltan.kiss@...rix.com, andy@...yhouse.net,
	vfalico@...hat.com, fubar@...ibm.com
Subject: Re: [PATCH net-next] bonding: fix u64 division

From: Nikolay Aleksandrov <nikolay@...hat.com>
Date: Thu, 23 Jan 2014 23:43:43 +0100

> 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@...hat.com>

To fix the build I'm applying this, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists