> From: "Matthieu Baerts (NGI0)" <[email protected]> > > [ Upstream commit 280d654324e33f8e6e3641f76764694c7b64c5db ] > > In case of subflow disconnect(), which can also happen with the first > subflow in case of errors like timeout or reset, mptcp_subflow_ctx_reset > will reset most fields from the mptcp_subflow_context structure, > including close_event_done. Then, when another subflow is closed, yet > another SUB_CLOSED event for the disconnected initial subflow is sent. > Because of the previous reset, there are no source address and > destination port. > > A solution is then to also check the subflow's local id: it shouldn't be > negative anyway. > > [ ... ] > > 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=2 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
