mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
net: Use skb_frag_off accessors
Use accessor functions for skb fragment's page_offset instead of direct references, in preparation for bvec conversion. Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7240b60c98
commit
b54c9d5bd6
44 changed files with 100 additions and 98 deletions
|
@ -273,7 +273,7 @@ static int fill_sg_in(struct scatterlist *sg_in,
|
|||
|
||||
__skb_frag_ref(frag);
|
||||
sg_set_page(sg_in + i, skb_frag_page(frag),
|
||||
skb_frag_size(frag), frag->page_offset);
|
||||
skb_frag_size(frag), skb_frag_off(frag));
|
||||
|
||||
remaining -= skb_frag_size(frag);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue