diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2011-08-31 02:46:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 21:34:59 +0200 |
commit | f327358ab2cdfa534b2dc89e9dd2266c0f61f587 (patch) | |
tree | 02f2ed0089e3105b40eab7dc3453487d7c3f33a0 /drivers/net/ethernet/jme.c | |
parent | ibmveth: convert to SKB paged frag API. (diff) | |
download | linux-f327358ab2cdfa534b2dc89e9dd2266c0f61f587.tar.xz linux-f327358ab2cdfa534b2dc89e9dd2266c0f61f587.zip |
jme: convert to SKB paged frag API.
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>
Diffstat (limited to 'drivers/net/ethernet/jme.c')
-rw-r--r-- | drivers/net/ethernet/jme.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c index a869ee47dde6..48a0a23f342f 100644 --- 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; |