atm: convert to SKB paged frag API.
authorIan Campbell <Ian.Campbell@citrix.com>
Wed, 24 Aug 2011 22:28:07 +0000 (22:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:38:42 +0000 (12:38 -0400)
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>
drivers/atm/eni.c

index 93071417315f66227f45260fc5a0fa171f9b798f..f7ca4c13d61d35d04ae4a50ebea80d061d303c89 100644 (file)
@@ -1134,7 +1134,8 @@ DPRINTK("doing direct send\n"); /* @@@ well, this doesn't work anyway */
                                    skb_headlen(skb));
                        else
                                put_dma(tx->index,eni_dev->dma,&j,(unsigned long)
-                                   skb_shinfo(skb)->frags[i].page + skb_shinfo(skb)->frags[i].page_offset,
+                                   skb_frag_page(&skb_shinfo(skb)->frags[i]) +
+                                       skb_shinfo(skb)->frags[i].page_offset,
                                    skb_shinfo(skb)->frags[i].size);
        }
        if (skb->len & 3)