Unverified Commit ff5f723b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12933 tcp: fix mptcp DSS corruption due to large pmtu xmit

parents 5a35d512 d0c742c4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2366,9 +2366,7 @@ static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len)
		if (len <= skb->len)
			break;

		if (unlikely(TCP_SKB_CB(skb)->eor) ||
		    tcp_has_tx_tstamp(skb) ||
		    !skb_pure_zcopy_same(skb, next))
		if (tcp_has_tx_tstamp(skb) || !tcp_skb_can_collapse(skb, next))
			return false;

		len -= skb->len;