Files
linux/drivers/net/usb
Georgi Valkov 63e4b45c82 ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
When rx_buf is allocated we need to account for IPHETH_IP_ALIGN,
which reduces the usable size by 2 bytes. Otherwise we have 1512
bytes usable instead of 1514, and if we receive more than 1512
bytes, ipheth_rcvbulk_callback is called with status -EOVERFLOW,
after which the driver malfunctiones and all communication stops.

Resolves ipheth 2-1:4.2: ipheth_rcvbulk_callback: urb status: -75

Fixes: f33d9e2b48 ("usbnet: ipheth: fix connectivity with iOS 14")
Signed-off-by: Georgi Valkov <[email protected]>
Tested-by: Jan Kiszka <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/all/24851bd2769434a5fc24730dce8e8a984c5a4505.1643699778.git.jan.kiszka@siemens.com/
Signed-off-by: Jakub Kicinski <[email protected]>
2022-02-01 20:25:38 -08:00
..
…
2021-10-02 14:18:25 +01:00
2021-10-02 14:18:25 +01:00
2021-06-17 11:30:25 -07:00
2021-06-01 17:05:05 -07:00
…
2021-09-17 11:19:58 +01:00
2021-06-01 17:05:05 -07:00
2021-10-02 14:18:25 +01:00
2021-10-15 14:34:35 +01:00
…
2021-06-01 17:05:05 -07:00
…
…
…
…
2021-10-22 10:15:56 -07:00
…
…
…