diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2011-08-24 18:28:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-26 12:38:42 -0400 |
commit | c517202f3cf1cd189259c50d55622d8c7ab16eb2 (patch) | |
tree | 3ba97fc45e6db0f804a9a3b4438de69923a42c4d /drivers/atm | |
parent | 767df1c7174406127d3619c2f7a862655b34074f (diff) |
atm: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Cc: linux-atm-general@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/eni.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c index 93071417315f..f7ca4c13d61d 100644 --- a/drivers/atm/eni.c +++ b/drivers/atm/eni.c | |||
@@ -1134,7 +1134,8 @@ DPRINTK("doing direct send\n"); /* @@@ well, this doesn't work anyway */ | |||
1134 | skb_headlen(skb)); | 1134 | skb_headlen(skb)); |
1135 | else | 1135 | else |
1136 | put_dma(tx->index,eni_dev->dma,&j,(unsigned long) | 1136 | put_dma(tx->index,eni_dev->dma,&j,(unsigned long) |
1137 | skb_shinfo(skb)->frags[i].page + skb_shinfo(skb)->frags[i].page_offset, | 1137 | skb_frag_page(&skb_shinfo(skb)->frags[i]) + |
1138 | skb_shinfo(skb)->frags[i].page_offset, | ||
1138 | skb_shinfo(skb)->frags[i].size); | 1139 | skb_shinfo(skb)->frags[i].size); |
1139 | } | 1140 | } |
1140 | if (skb->len & 3) | 1141 | if (skb->len & 3) |