Skip to content

Commit 64149e7

Browse files
ForstNipaLocal
authored andcommitted
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: NipaLocal <nipa@local>
1 parent fc2babb commit 64149e7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/usb/ipheth.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ static void ipheth_rcvbulk_callback(struct urb *urb)
308308
if (retval != 0) {
309309
dev_err(&dev->intf->dev, "%s: callback retval: %d\n",
310310
__func__, retval);
311-
return;
312311
}
313312

314313
rx_submit:

0 commit comments

Comments
 (0)