OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8838a53
)
jme: convert to SKB paged frag API.
author
Ian Campbell
<Ian.Campbell@citrix.com>
Wed, 31 Aug 2011 00:46:54 +0000
(
00:46
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Sep 2011 19:34:59 +0000
(15:34 -0400)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Guo-Fu Tseng <cooldavid@cooldavid.org>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/jme.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/jme.c
b/drivers/net/ethernet/jme.c
index
a869ee4
..
48a0a23
100644
(file)
--- a/
drivers/net/ethernet/jme.c
+++ b/
drivers/net/ethernet/jme.c
@@
-1928,8
+1928,9
@@
jme_map_tx_skb(struct jme_adapter *jme, struct sk_buff *skb, int idx)
ctxdesc = txdesc + ((idx + i + 2) & (mask));
ctxbi = txbi + ((idx + i + 2) & (mask));
- jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi, frag->page,
- frag->page_offset, frag->size, hidma);
+ jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi,
+ skb_frag_page(frag),
+ frag->page_offset, frag->size, hidma);
}
len = skb_is_nonlinear(skb) ? skb_headlen(skb) : skb->len;