aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <[email protected]>2024-08-28 08:14:28 +0200
committerPaolo Abeni <[email protected]>2024-08-29 10:39:50 +0200
commitbc19ff57637ff563d2bdf2b385b48c41e6509e0d (patch)
tree1500089b0b3c09da6df324410b438249ead932dd /scripts/rustdoc_test_builder.rs
parentc07cc3ed895f9bfe0c53b5ed6be710c133b4271c (diff)
mptcp: pm: skip connecting to already established sf
The lookup_subflow_by_daddr() helper checks if there is already a subflow connected to this address. But there could be a subflow that is closing, but taking time due to some reasons: latency, losses, data to process, etc. If an ADD_ADDR is received while the endpoint is being closed, it is better to try connecting to it, instead of rejecting it: the peer which has sent the ADD_ADDR will not be notified that the ADD_ADDR has been rejected for this reason, and the expected subflow will not be created at the end. This helper should then only look for subflows that are established, or going to be, but not the ones being closed. Fixes: d84ad04941c3 ("mptcp: skip connecting the connected address") Cc: [email protected] Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions