Files
ipxe/src/drivers/net
Michael Brown eede697ece [ncm] Treat a zero divisor as indicating no alignment requirements
A zero divisor will currently lead to a 16-bit integer overflow when
calculating the transmit padding, and a potential division by zero if
assertions are enabled.

Avoid these problems by treating a divisor value of zero as equivalent
to a divisor value of one (i.e. no alignment requirements).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2020-10-02 00:04:26 +01:00
..
2013-08-20 14:38:33 +01:00
2010-04-19 23:43:39 +01:00
2005-03-08 18:53:11 +00:00
2010-04-19 23:43:39 +01:00
2015-03-02 16:35:37 +00:00
2010-04-19 23:43:39 +01:00
2013-03-27 15:16:52 +00:00
2018-04-20 15:21:32 +01:00
2015-09-14 22:45:56 +01:00
2010-04-19 23:43:39 +01:00
2013-03-27 15:16:52 +00:00
2016-05-04 16:01:32 +01:00
2018-01-14 21:16:36 +00:00
2007-06-09 15:23:17 -04:00
2013-03-27 15:16:52 +00:00