Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281962
b: refs/heads/master
c: 6c15d74
h: refs/heads/master
v: v3
  • Loading branch information
Aurelien Jacobs authored and David S. Miller committed Jan 7, 2012
1 parent 4c6a7e2 commit abd7a3c
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6d62a66e4211546f9e5c5d1ad586749a51cf30db
refs/heads/master: 6c15d74defd38e7e7f8805392578b7a1d508097e
2 changes: 1 addition & 1 deletion trunk/drivers/net/usb/asix.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static int asix_rx_fixup(struct usbnet *dev, struct sk_buff *skb)

skb_pull(skb, (size + 1) & 0xfffe);

if (skb->len == 0)
if (skb->len < sizeof(header))
break;

head = (u8 *) skb->data;
Expand Down

0 comments on commit abd7a3c

Please sign in to comment.