From: Herbert Xu Date: Thu, 8 Jan 2009 21:27:06 +0000 (+0000) Subject: ipcomp: Remove spurious truesize increase X-Git-Tag: v2.6.29-rc2~105^2~30 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9498c05820580afbf03a317b0b5bdb0ca0e27e40;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_ipcomp.c b/net/xfrm/xfrm_ipcomp.c index c609a4b98e1..42cd18391f4 100644 --- a/net/xfrm/xfrm_ipcomp.c +++ b/net/xfrm/xfrm_ipcomp.c @@ -63,7 +63,6 @@ static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb) if (len > skb_tailroom(skb)) len = skb_tailroom(skb); - skb->truesize += len; __skb_put(skb, len); len += plen;