You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mptcp: plug races between subflow fail and subflow creation
We have races similar to the one addressed by the previous patch
between subflow failing and additional subflow creation. They are
just harder to trigger.
The solution is similar. Use a separate flag to track the condition
'socket state prevent any additional subflow creation' protected by
the fallback lock.
The socket fallback makes such flag true, and also receiving or sending
a MPTCP fail option.
The field 'allow_infinite_fallback' is now always touched under the
relevant lock, we can drop the ONCE annotation on write.
Fixes: 478d770 ("mptcp: send out MP_FAIL when data checksum fails")
Signed-off-by: Paolo Abeni <[email protected]>
0 commit comments