We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184fa76 commit 305f670Copy full SHA for 305f670
drivers/usb/gadget/function/f_eem.c
@@ -495,7 +495,7 @@ static int eem_unwrap(struct gether *port,
495
skb2 = skb_clone(skb, GFP_ATOMIC);
496
if (unlikely(!skb2)) {
497
DBG(cdev, "unable to unframe EEM packet\n");
498
- continue;
+ goto next;
499
}
500
skb_trim(skb2, len - ETH_FCS_LEN);
501
@@ -505,7 +505,7 @@ static int eem_unwrap(struct gether *port,
505
GFP_ATOMIC);
506
if (unlikely(!skb3)) {
507
dev_kfree_skb_any(skb2);
508
509
510
511
skb_queue_tail(list, skb3);
0 commit comments