opengnsys_ipxe/src/drivers
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
..
bitbash [mii] Add bit-bashing interface 2018-04-20 15:24:33 +01:00
block [iscsi] Fix iBFT when no explicit initiator name setting exists 2017-05-10 16:01:47 +01:00
bus [usb] Avoid integer underflow on malformed string descriptors 2020-10-01 23:27:53 +01:00
infiniband [pci] Update drivers to use pci_ioremap() 2020-09-25 14:17:07 +01:00
linux [linux] Impose receive quota on tap driver 2017-09-04 18:00:34 +01:00
net [ncm] Treat a zero divisor as indicating no alignment requirements 2020-10-02 00:04:26 +01:00
nvs [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usb [pci] Update drivers to use pci_ioremap() 2020-09-25 14:17:07 +01:00