diff options
author | Matthieu Baerts (NGI0) <[email protected]> | 2024-08-28 08:14:33 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-08-29 10:39:50 +0200 |
commit | 9366922adc6a71378ca01f898c41be295309f044 (patch) | |
tree | 74dfbdc8023acc3c5b1b8485d0e2561fd7bd9341 /scripts/rustdoc_test_builder.rs | |
parent | 58e1b66b4e4b8a602d3f2843e8eba00a969ecce2 (diff) |
mptcp: pm: fix ID 0 endp usage after multiple re-creations
'local_addr_used' and 'add_addr_accepted' are decremented for addresses
not related to the initial subflow (ID0), because the source and
destination addresses of the initial subflows are known from the
beginning: they don't count as "additional local address being used" or
"ADD_ADDR being accepted".
It is then required not to increment them when the entrypoint used by
the initial subflow is removed and re-added during a connection. Without
this modification, this entrypoint cannot be removed and re-added more
than once.
Reported-by: Arınç ÜNAL <[email protected]>
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/512
Fixes: 3ad14f54bd74 ("mptcp: more accurate MPC endpoint tracking")
Reported-by: [email protected]
Closes: https://lore.kernel.org/[email protected]
Cc: [email protected]
Tested-by: Arınç ÜNAL <[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