9f201a8783
Firmware may insert up to 4 padding bytes after the lmac header, but it does not amend the size of SPI data transfer. Such packets has correct data size in header, thus referencing past the end of allocated skb. Put extra 4 bytes to the end of the received skb to compensate for this case. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
net2280.h | ||
p54.h | ||
p54common.c | ||
p54common.h | ||
p54pci.c | ||
p54pci.h | ||
p54spi_eeprom.h | ||
p54spi.c | ||
p54spi.h | ||
p54usb.c | ||
p54usb.h |