Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231219
b: refs/heads/master
c: 9e56790
h: refs/heads/master
i:
  231217: 78811b9
  231215: b909d91
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Jan 14, 2011
1 parent 17dd8ac commit dd59b9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e84f885ebfb43b1ebb1481ee8bb2018743f947e9
refs/heads/master: 9e56790ad31d72a5a44142af462d047c0c897b29
4 changes: 3 additions & 1 deletion trunk/drivers/net/usb/cdc_ncm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1021,13 +1021,15 @@ static int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in)
(temp > CDC_NCM_MAX_DATAGRAM_SIZE) || (temp < ETH_HLEN)) {
pr_debug("invalid frame detected (ignored)"
"offset[%u]=%u, length=%u, skb=%p\n",
x, offset, temp, skb);
x, offset, temp, skb_in);
if (!x)
goto error;
break;

} else {
skb = skb_clone(skb_in, GFP_ATOMIC);
if (!skb)
goto error;
skb->len = temp;
skb->data = ((u8 *)skb_in->data) + offset;
skb_set_tail_pointer(skb, temp);
Expand Down

0 comments on commit dd59b9f

Please sign in to comment.