Skip to content

Commit

Permalink
ipcomp: Remove spurious truesize increase
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
herbertx authored and davem330 committed Jan 11, 2009
1 parent eefacf3 commit 9498c05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/xfrm/xfrm_ipcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9498c05

Please sign in to comment.