mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +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
|
@ -5481,7 +5481,7 @@ static void gro_pull_from_frag0(struct sk_buff *skb, int grow)
|
|||
skb->data_len -= grow;
|
||||
skb->tail += grow;
|
||||
|
||||
pinfo->frags[0].page_offset += grow;
|
||||
skb_frag_off_add(&pinfo->frags[0], grow);
|
||||
skb_frag_size_sub(&pinfo->frags[0], grow);
|
||||
|
||||
if (unlikely(!skb_frag_size(&pinfo->frags[0]))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue