Message ID | 20220317220953.426024-1-mathew.j.martineau@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | [net] mptcp: Fix crash due to tcp_tsorted_anchor was initialized before release skb | expand |
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 1c72f25f083e..014c9d88f947 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -1196,6 +1196,7 @@ static struct sk_buff *__mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, g tcp_skb_entail(ssk, skb); return skb; } + tcp_skb_tsorted_anchor_cleanup(skb); kfree_skb(skb); return NULL; }