summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-01-08 22:27:06 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-11 09:04:11 +0100
commit9498c05820580afbf03a317b0b5bdb0ca0e27e40 (patch)
treefbafc631d0a0eff6a4a71f5f1b30a28a25fa77d3 /net/xfrm
parente1000e: Add process name to WARN message when detecting Mutex contention (diff)
downloadlinux-9498c05820580afbf03a317b0b5bdb0ca0e27e40.tar.xz
linux-9498c05820580afbf03a317b0b5bdb0ca0e27e40.zip
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>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_ipcomp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_ipcomp.c b/net/xfrm/xfrm_ipcomp.c
index c609a4b98e15..42cd18391f46 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;