diff options
author | Menglong Dong <[email protected]> | 2022-09-27 12:31:57 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-09-28 19:05:21 -0700 |
commit | 26d3e21ce1aab6cb19069c510fac8e7474445b18 (patch) | |
tree | 6c17560f92ea8d98d1bd6722ded76537c43678ab /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 3e1308a7c88ba149baa08ddffedee30c6b3224a0 (diff) |
mptcp: factor out __mptcp_close() without socket lock
Factor out __mptcp_close() from mptcp_close(). The caller of
__mptcp_close() should hold the socket lock, and cancel mptcp work when
__mptcp_close() returns true.
This function will be used in the next commit.
Fixes: f296234c98a8 ("mptcp: Add handling of incoming MP_JOIN requests")
Fixes: 6aeed9045071 ("mptcp: fix race on unaccepted mptcp sockets")
Cc: [email protected]
Reviewed-by: Jiang Biao <[email protected]>
Reviewed-by: Mengen Sun <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Menglong Dong <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions