]> www.infradead.org Git - users/dwmw2/linux.git/commit
usbnet: ipheth: do not stop RX on failing RX callback
authorFoster Snowhill <forst@pen.gy>
Tue, 6 Aug 2024 17:28:08 +0000 (19:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2024 12:54:21 +0000 (13:54 +0100)
commit74efed51e0a4d62f998f806c307778b47fc73395
treefe07f6c8738f498cc5e5e91a9a983d6fc0212780
parent94d7eeb6c0ef0310992944f0d0296929816a2cb0
usbnet: ipheth: do not stop RX on failing RX callback

RX callbacks can fail for multiple reasons:

* Payload too short
* Payload formatted incorrecly (e.g. bad NCM framing)
* Lack of memory

None of these should cause the driver to seize up.

Make such failures non-critical and continue processing further
incoming URBs.

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