Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135154
b: refs/heads/master
c: 8f43580
h: refs/heads/master
v: v3
  • Loading branch information
Divy Le Ray authored and David S. Miller committed Mar 13, 2009
1 parent 3dc0cea commit f493e12
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9bb2b31e6f87dba06b81429af91362a9127f5bf2
refs/heads/master: 8f4358044d7d694f2e0c18a6ce5db6ec0790451a
3 changes: 2 additions & 1 deletion trunk/drivers/net/cxgb3/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,14 +830,15 @@ static struct sk_buff *get_packet_pg(struct adapter *adap, struct sge_fl *fl,
len - SGE_RX_PULL_LEN);
newskb->len = len;
newskb->data_len = len - SGE_RX_PULL_LEN;
newskb->truesize += newskb->data_len;
} else {
skb_fill_page_desc(newskb, skb_shinfo(newskb)->nr_frags,
sd->pg_chunk.page,
sd->pg_chunk.offset, len);
newskb->len += len;
newskb->data_len += len;
newskb->truesize += len;
}
newskb->truesize += newskb->data_len;

fl->credits--;
/*
Expand Down

0 comments on commit f493e12

Please sign in to comment.