Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: update rtx timeout only if required.
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: syzbot+42aa53dafb66a07e5a24@syzkaller.appspotmail.com Fixes: d9ca1de ("mptcp: move page frag allocation in mptcp_sendmsg()") Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
- Loading branch information