Commit 5b21443
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]>1 parent e537fe4 commit 5b21443
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2575 | 2575 | | |
2576 | 2576 | | |
2577 | 2577 | | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
2578 | 2582 | | |
2579 | 2583 | | |
2580 | 2584 | | |
| |||
0 commit comments