diff options
author | Paolo Abeni <[email protected]> | 2022-09-30 08:59:31 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-03 11:18:53 +0100 |
commit | 69800e516e968fa1cf9202b872dc86515eeeebe6 (patch) | |
tree | f28ca053ed913ffa767f89e6e9fec465389127d6 /scripts/generate_rust_analyzer.py | |
parent | 7171e8a1a4a8671783ccd21c5b51108cce8986ed (diff) |
mptcp: propagate fastclose error
When an mptcp socket is closed due to an incoming FASTCLOSE
option, so specific sk_err is set and later syscall will
fail usually with EPIPE.
Align the current fastclose error handling with TCP reset,
properly setting the socket error according to the current
msk state and propagating such error.
Additionally sendmsg() is currently not handling properly
the sk_err, always returning EPIPE.
Reviewed-by: Matthieu Baerts <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions