diff options
author | Foster Snowhill <forst@pen.gy> | 2024-08-06 19:28:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-09 13:54:21 +0100 |
commit | 74efed51e0a4d62f998f806c307778b47fc73395 (patch) | |
tree | fe07f6c8738f498cc5e5e91a9a983d6fc0212780 /drivers/net/usb | |
parent | 94d7eeb6c0ef0310992944f0d0296929816a2cb0 (diff) |
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>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r-- | drivers/net/usb/ipheth.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index f04c7bf79665..cdc72559790a 100644 --- a/drivers/net/usb/ipheth.c +++ b/drivers/net/usb/ipheth.c @@ -308,7 +308,6 @@ static void ipheth_rcvbulk_callback(struct urb *urb) if (retval != 0) { dev_err(&dev->intf->dev, "%s: callback retval: %d\n", __func__, retval); - return; } rx_submit: |