diff options
author | Matthieu Baerts <[email protected]> | 2022-10-21 17:45:05 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-10-25 12:32:54 +0200 |
commit | caea64675d8b91deb59140a92f190124399ccd37 (patch) | |
tree | 9cb4c3e1bae5e902fc5ab28f6d1cc90adc4cfc8e /tools/perf/scripts/python/libxed.py | |
parent | e64d4deb4de006faf7613c6603f5bf1bd1844ab3 (diff) |
mptcp: sockopt: use new helper for TCP_DEFER_ACCEPT
mptcp_setsockopt_sol_tcp_defer() was doing the same thing as
mptcp_setsockopt_first_sf_only() except for the returned code in case of
error.
Ignoring the error is needed to mimic how TCP_DEFER_ACCEPT is handled
when used with "plain" TCP sockets.
The specific function for TCP_DEFER_ACCEPT can be replaced by the new
mptcp_setsockopt_first_sf_only() helper and errors can be ignored to
stay compatible with TCP. A bit of cleanup.
Suggested-by: Mat Martineau <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions