From: David S. Miller Date: Tue, 5 Jul 2005 22:18:34 +0000 (-0700) Subject: [TCP]: Add missing skb_header_release() call to tcp_fragment(). X-Git-Tag: v2.6.13-rc2~6^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f44b527177d57ed382bfd93e1b55232465f6d058;p=linux-2.6 [TCP]: Add missing skb_header_release() call to tcp_fragment(). When we add any new packet to the TCP socket write queue, we must call skb_header_release() on it in order for the TSO sharing checks in the drivers to work. Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 362b811a24..5e63ed0965 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -655,6 +655,7 @@ static int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len) } /* Link BUFF into the send queue. */ + skb_header_release(buff); __skb_append(skb, buff); return 0;