mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04: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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7240b60c98
commit
b54c9d5bd6
44 changed files with 100 additions and 98 deletions
|
|
@ -85,7 +85,7 @@ static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb)
|
|||
if (dlen < len)
|
||||
len = dlen;
|
||||
|
||||
frag->page_offset = 0;
|
||||
skb_frag_off_set(frag, 0);
|
||||
skb_frag_size_set(frag, len);
|
||||
memcpy(skb_frag_address(frag), scratch, len);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue