On Wed, 18 Nov 2020, Paolo Abeni wrote:

We must start the retransmission timer only there are
pending data in the rtx queue.
Otherwise we can hit a WARN_ON in mptcp_reset_timer(),
as syzbot demonstrated.

Reported-and-tested-by: [email protected]
Fixes: d9ca1de8c0cd ("mptcp: move page frag allocation in mptcp_sendmsg()")
Signed-off-by: Paolo Abeni <[email protected]>
---
net/mptcp/protocol.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)


Reviewed-by: Mat Martineau <[email protected]>

--
Mat Martineau
Intel

Reply via email to