Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: really cope with fastopen race.
Fastopen and PM-trigger subflow shutdown can race, as reported by syzkaller. In my first attempt to close such race, I missed the fact that the subflow status can change again before the subflow_state_change callback is invoked. Address the issue additionally copying with all the states directly reachable from TCP_FIN_WAIT1. Fixes: 1e777f3 ("mptcp: add MSG_FASTOPEN sendmsg flag support") Fixes: 4fd19a3 ("mptcp: fix inconsistent state on fastopen race") Reported-by: [email protected] Signed-off-by: Paolo Abeni <[email protected]> Message-Id: <02fe7afaec6fac65fc2da5922efe25d6ebdebc88.1706132185.git.pabeni@redhat.com>
- Loading branch information