projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d3e7b
)
[TCP]: Add missing skb_header_release() call to tcp_fragment().
author
David S. Miller
<davem@davemloft.net>
Tue, 5 Jul 2005 22:18:34 +0000
(15:18 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 5 Jul 2005 22:18:34 +0000
(15:18 -0700)
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@davemloft.net>
net/ipv4/tcp_output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_output.c
b/net/ipv4/tcp_output.c
index 362b811a2460c9e5ac85c696bdec5625d0eb15f3..5e63ed09658d39f6c8fe95d99a3498ad518f0ad1 100644
(file)
--- 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;