Skip to content
Snippets Groups Projects
Commit f44b5271 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 84d3e7b9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment