From: Ian Campbell Date: Wed, 31 Aug 2011 00:47:02 +0000 (+0000) Subject: qeth: convert to SKB paged frag API. X-Git-Tag: firefly_0821_release~3680^2~4273^2~336 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d36bb0de70bfd57f15c48bc8fb6886f3dcc96ae;p=firefly-linux-kernel-4.4.55.git qeth: convert to SKB paged frag API. Signed-off-by: Ian Campbell Cc: Ursula Braun Cc: Frank Blaschka Cc: linux390@de.ibm.com Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s390@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 97172f8a15b7..81534437373a 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -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;