Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352789
b: refs/heads/master
c: 7341a73
h: refs/heads/master
i:
  352787: 111bc72
v: v3
  • Loading branch information
Hauke Mehrtens authored and David S. Miller committed Feb 19, 2013
1 parent 8597f9c commit a01e6cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: d37204566a61d5116d385ae909db8e14a734b30f
refs/heads/master: 7341a73c12b6133aaf3dade95942041043b11ba3
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/broadcom/b44.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,11 +809,10 @@ static int b44_rx(struct b44 *bp, int budget)
struct sk_buff *copy_skb;

b44_recycle_rx(bp, cons, bp->rx_prod);
copy_skb = netdev_alloc_skb(bp->dev, len + 2);
copy_skb = netdev_alloc_skb_ip_align(bp->dev, len);
if (copy_skb == NULL)
goto drop_it_no_recycle;

skb_reserve(copy_skb, 2);
skb_put(copy_skb, len);
/* DMA sync done above, copy just the actual packet */
skb_copy_from_linear_data_offset(skb, RX_PKT_OFFSET,
Expand Down

0 comments on commit a01e6cb

Please sign in to comment.