]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/stream.c
[NET] gso: Fix up GSO packets with broken checksums
[linux-2.6-omap-h63xx.git] / net / core / stream.c
index 35e25259fd95712a0145853eeea4f01493ad5599..e9489696f694540bfb90d12aba6e1cd3c5dd1d57 100644 (file)
@@ -176,6 +176,7 @@ void sk_stream_rfree(struct sk_buff *skb)
 {
        struct sock *sk = skb->sk;
 
+       skb_truesize_check(skb);
        atomic_sub(skb->truesize, &sk->sk_rmem_alloc);
        sk->sk_forward_alloc += skb->truesize;
 }