Re: [PATCH net-next] mptcp: fix integer overflow in mptcp_subflow_discard_data()

2020-09-17 Thread David Miller
From: Paolo Abeni Date: Thu, 17 Sep 2020 23:07:24 +0200 > Christoph reported an infinite loop in the subflow receive path > under stress condition. > > If there are multiple subflows, each of them using a large send > buffer, the delta between the sequence number used by > MPTCP-level retransmis

Re: [MPTCP] [PATCH net-next] mptcp: fix integer overflow in mptcp_subflow_discard_data()

2020-09-17 Thread Mat Martineau
On Thu, 17 Sep 2020, Paolo Abeni wrote: Christoph reported an infinite loop in the subflow receive path under stress condition. If there are multiple subflows, each of them using a large send buffer, the delta between the sequence number used by MPTCP-level retransmission can and the current

[PATCH net-next] mptcp: fix integer overflow in mptcp_subflow_discard_data()

2020-09-17 Thread Paolo Abeni
Christoph reported an infinite loop in the subflow receive path under stress condition. If there are multiple subflows, each of them using a large send buffer, the delta between the sequence number used by MPTCP-level retransmission can and the current msk->ack_seq can be greater than MAX_INT. In