> From: Quanye Yang <[email protected]> > > [ Upstream commit 29afe67082b2d33ab2e90c56c337235d725f023f ] > > mptcp_connect() can fall back before the subflow SYN is sent, for > example when the netns is in an MPTCP blackhole, token allocation fails, > or MD5SIG is in use. If the subsequent subflow connect() fails > immediately (EAFNOSUPPORT, ENETUNREACH, ...), __inet_stream_connect() > returns while the socket is still SS_UNCONNECTED and never calls > ->disconnect(). This was reported by Clashiko [1]. > > The error path only dropped the token and moved the msk back to > TCP_CLOSE. MPTCP_FALLBACK_DONE, allow_subflows and > request_mptcp were left as after early fallback, so a later > connect() on the same fd stayed TCP-only. > [ ... ] > > https://virtuozzo.atlassian.net/browse/VSTOR-155419 > Feature: fix ms/net > > Signed-off-by: Eva Kurchatova <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
