Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368342
b: refs/heads/master
c: e76d120
h: refs/heads/master
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Mar 20, 2013
1 parent cef1abf commit 422499c
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: a6f68034de8a5784dfeabb337506254c80b4c8c6
refs/heads/master: e76d120b68d2e0f159ba999b1210920a5a0ed53d
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/chelsio/cxgb/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,11 +1046,10 @@ static inline struct sk_buff *get_packet(struct pci_dev *pdev,
const struct freelQ_ce *ce = &fl->centries[fl->cidx];

if (len < copybreak) {
skb = alloc_skb(len + 2, GFP_ATOMIC);
skb = netdev_alloc_skb_ip_align(NULL, len);
if (!skb)
goto use_orig_buf;

skb_reserve(skb, 2); /* align IP header */
skb_put(skb, len);
pci_dma_sync_single_for_cpu(pdev,
dma_unmap_addr(ce, dma_addr),
Expand Down

0 comments on commit 422499c

Please sign in to comment.