tree cf10d1ed522c4aeb8c1cc523dd0591d7547bfd1f
parent 84d3e7b9573291a1ea845bdd51b74bb484597661
author David S. Miller <[EMAIL PROTECTED]> Wed, 06 Jul 2005 05:18:34 -0700
committer David S. Miller <[EMAIL PROTECTED]> Wed, 06 Jul 2005 05:18:34 -0700
[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 <[EMAIL PROTECTED]>
net/ipv4/tcp_output.c | 1 +
1 files changed, 1 insertion(+)
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -655,6 +655,7 @@ static int tcp_fragment(struct sock *sk,
}
/* Link BUFF into the send queue. */
+ skb_header_release(buff);
__skb_append(skb, buff);
return 0;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html