Commit 6a8ed462 authored by Committed by David S. Miller
xen: netback: handle compound page fragments on transmit.
An SKB paged fragment can consist of a compound page with order > 0. However the netchannel protocol deals only in PAGE_SIZE frames. Handle this in netbk_gop_frag_copy and xen_netbk_count_skb_slots by iterating over the frames which make up the page. Signed-off-by: Ian Campbell <email@example.com> Cc: Eric Dumazet <firstname.lastname@example.org> Cc: Konrad Rzeszutek Wilk <email@example.com> Cc: Sander Eikelenboom <firstname.lastname@example.org> Tested-by: Konrad Rzeszutek Wilk <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 35 additions and 5 deletions