diff options
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_ipcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_ipcomp.c b/net/xfrm/xfrm_ipcomp.c index f781b9ab8a54..e5246fbe36c4 100644 --- a/net/xfrm/xfrm_ipcomp.c +++ b/net/xfrm/xfrm_ipcomp.c | |||
@@ -90,7 +90,7 @@ static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb) | |||
90 | len = dlen; | 90 | len = dlen; |
91 | 91 | ||
92 | frag->page_offset = 0; | 92 | frag->page_offset = 0; |
93 | frag->size = len; | 93 | skb_frag_size_set(frag, len); |
94 | memcpy(skb_frag_address(frag), scratch, len); | 94 | memcpy(skb_frag_address(frag), scratch, len); |
95 | 95 | ||
96 | skb->truesize += len; | 96 | skb->truesize += len; |