usbnet: ipheth: drop RX URBs with no payload
authorFoster Snowhill <forst@pen.gy>
Tue, 6 Aug 2024 17:28:07 +0000 (19:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2024 12:54:20 +0000 (13:54 +0100)
commit94d7eeb6c0ef0310992944f0d0296929816a2cb0
tree0b709b0ed9772b9f25182d78ef521b2694707cdf
parent655b46d7a39ac6f049698b27c1568c0f7ff85d1e
usbnet: ipheth: drop RX URBs with no payload

On iPhone 15 Pro Max one can observe periodic URBs with no payload
on the "bulk in" (RX) endpoint. These don't seem to do anything
meaningful. Reproduced on iOS 17.5.1 and 17.6.

This behaviour isn't observed on iPhone 11 on the same iOS version. The
nature of these zero-length URBs is so far unknown.

Drop RX URBs with no payload.

Signed-off-by: Foster Snowhill <forst@pen.gy>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ipheth.c