[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080122.063617.38960312.davem@davemloft.net>
Date: Tue, 22 Jan 2008 06:36:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
Subject: [IPV4]: Add missing skb->truesize increment in ip_append_page().
I just checked the following into net-2.6
[IPV4]: Add missing skb->truesize increment in ip_append_page().
Signed-off-by: David S. Miller <davem@...emloft.net>
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index fd99fbd..e582dba 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -1172,6 +1172,7 @@ ssize_t ip_append_page(struct sock *sk, struct page *page,
skb->len += len;
skb->data_len += len;
+ skb->truesize += len;
offset += len;
size -= len;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists