net: ipv4: convert to SKB frag APIs
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: "Pekka Savola (ipv6)" <pekkas@netcore.fi> Cc: James Morris <jmorris@namei.org> Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Cc: Patrick McHardy <kaber@trash.net> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ea2ab69379
commit
aff65da0f1
@@ -433,7 +433,7 @@ static struct sk_buff *__lro_proc_segment(struct net_lro_mgr *lro_mgr,
|
||||
if (!lro_mgr->get_frag_header ||
|
||||
lro_mgr->get_frag_header(frags, (void *)&mac_hdr, (void *)&iph,
|
||||
(void *)&tcph, &flags, priv)) {
|
||||
mac_hdr = page_address(frags->page) + frags->page_offset;
|
||||
mac_hdr = skb_frag_address(frags);
|
||||
goto out1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user