This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: Do not iterate indefinitely over write-queue
syzkaller found a way to put multiple SKBs in the write-queue while TFO was being used. This then made the list-traversla in mptcp_rcv_synsent_fastopen continuously iterate as we keep on moving skbs to the end. We really should not move an skb in the write-queue. Just adjust the sequence numbers. Fixes: 6b9e2a0 ("mptcp: TFO: check both queues when syn data not acked") Cc: Benjamin Hesmans <[email protected]> Signed-off-by: Christoph Paasch <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit 366c8ca) Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit f2eb227) Signed-off-by: Matthieu Baerts <[email protected]>
- Loading branch information