Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150738
b: refs/heads/master
c: d65a68a
h: refs/heads/master
v: v3
  • Loading branch information
Paulius Zaleckas authored and David S. Miller committed Jun 8, 2009
1 parent 106a295 commit 6e91135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: b07878e5471a8c880cb3cffee3a73048f38d2001
refs/heads/master: d65a68a8da5c9d1041ebc5e018e677d641910668
5 changes: 2 additions & 3 deletions trunk/drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -899,15 +899,14 @@ static void packetizeRx(struct hso_net *odev, unsigned char *ip_pkt,
continue;
}
/* Allocate an sk_buff */
odev->skb_rx_buf = dev_alloc_skb(frame_len);
odev->skb_rx_buf = netdev_alloc_skb(odev->net,
frame_len);
if (!odev->skb_rx_buf) {
/* We got no receive buffer. */
D1("could not allocate memory");
odev->rx_parse_state = WAIT_SYNC;
return;
}
/* Here's where it came from */
odev->skb_rx_buf->dev = odev->net;

/* Copy what we got so far. make room for iphdr
* after tail. */
Expand Down

0 comments on commit 6e91135

Please sign in to comment.