Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: fix invalid addr occupy 'add_addr_accepted'
This patch fixes an issue where an invalid address is announce as a signal, the 'add_addr_accepted' is incorrectly added several times when 'retransmit ADD_ADDR'. So we need to update this variable when the connection is removed from conn_list by mptcp_worker. So that the available address can be added in time. In fact, the 'add_addr_accepted' is only declined when 'RM_ADDR' by now, so when subflows are getting closed from the other peer, the new signal is not accepted as well. We noticed there have exist some problems related to this.I think this patch effectively resolves them. Closes: multipath-tcp/mptcp_net-next#498 Signed-off-by: Gang Yan <[email protected]>
- Loading branch information