diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-11-19 11:45:58 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-20 15:33:25 -0800 |
commit | 0397c6d85f9c6f81f6dc3a0a166331b2475b325c (patch) | |
tree | 90031b947c2f47edfd06a7111f42b0ccee982d61 /net/mptcp/pm.c | |
parent | 8b819a84d4b12c4a91cc9f91ad69ca09c3e0606d (diff) |
mptcp: keep unaccepted MPC subflow into join list
This will simplify all operation dealing with subflows
before accept time (e.g. data fin processing, add_addr).
The join list is already flushed by mptcp_stream_accept()
before returning the newly created msk to the user space.
This also fixes an potential bug present into the old code:
conn_list was manipulated without helding the msk lock
in mptcp_stream_accept().
Tested-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/pm.c')
0 files changed, 0 insertions, 0 deletions