qeth: convert to SKB paged frag API.
authorIan Campbell <Ian.Campbell@citrix.com>
Wed, 31 Aug 2011 00:47:02 +0000 (00:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:35:00 +0000 (15:35 -0400)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ursula Braun <ursula.braun@de.ibm.com>
Cc: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Cc: linux390@de.ibm.com
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-s390@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c

index 97172f8a15b7a8eccfb0baeb514d08193752b97a..81534437373a3c1209c914db4fb2a32d45860e44 100644 (file)
@@ -3694,7 +3694,8 @@ static inline void __qeth_fill_buffer(struct sk_buff *skb,
 
        for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) {
                frag = &skb_shinfo(skb)->frags[cnt];
-               buffer->element[element].addr = (char *)page_to_phys(frag->page)
+               buffer->element[element].addr = (char *)
+                       page_to_phys(skb_frag_page(frag))
                        + frag->page_offset;
                buffer->element[element].length = frag->size;
                buffer->element[element].eflags = SBAL_EFLAGS_MIDDLE_FRAG;