| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 5/9]: TCP: The Road to Super TSO |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Mon, 06 Jun 2005 21:19:46 -0700 (PDT) |
| Cc: | herbert@xxxxxxxxxxxxxxxxxxx, jheffner@xxxxxxx |
| In-reply-to: | <20050606.210846.07641049.davem@xxxxxxxxxxxxx> |
| References: | <20050606.210846.07641049.davem@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
[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 <davem@xxxxxxxxxxxxx>
79eb6b25499ed5470cb7b20428c435288fcb3502 (from
bdbf09522de5be3ada129dceaa3ad9da9be078bc)
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
@@ -660,6 +660,7 @@ static int tcp_fragment(struct sock *sk,
}
/* Link BUFF into the send queue. */
+ skb_header_release(buff);
__skb_append(skb, buff);
return 0;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 4/9]: TCP: The Road to Super TSO, David S. Miller |
|---|---|
| Next by Date: | [PATCH 6/9]: TCP: The Road to Super TSO, David S. Miller |
| Previous by Thread: | [PATCH 4/9]: TCP: The Road to Super TSO, David S. Miller |
| Next by Thread: | [PATCH 6/9]: TCP: The Road to Super TSO, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |