Commit 9498c05820580afbf03a317b0b5bdb0ca0e27e40

Authored by Herbert Xu
Committed by David S. Miller
1 parent eefacf3b4f

ipcomp: Remove spurious truesize increase

When I made ipcomp use frags, I forgot to take out the original
truesize update that was added for pskb_expand_head.  As we no
longer expand the head of skb, that update should have been removed.

This bug is not related to the truesize warnings since we only
made it bigger than what it should've been.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

net/xfrm/xfrm_ipcomp.c
... ... @@ -63,7 +63,6 @@
63 63 if (len > skb_tailroom(skb))
64 64 len = skb_tailroom(skb);
65 65  
66   - skb->truesize += len;
67 66 __skb_put(skb, len);
68 67  
69 68 len += plen;