diff options
author | Paolo Abeni <pabeni@redhat.com> | 2022-11-18 19:46:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-21 14:09:07 +0100 |
commit | 976d302fb6165ad620778d7ba834cde6e3fe9f9f (patch) | |
tree | 6d9ea0a1778c0563e31f57fffeb91a2cecffcaa8 /tools/thermal | |
parent | net: Return errno in sk->sk_prot->get_port(). (diff) | |
download | linux-976d302fb6165ad620778d7ba834cde6e3fe9f9f.tar.xz linux-976d302fb6165ad620778d7ba834cde6e3fe9f9f.zip |
mptcp: deduplicate error paths on endpoint creation
When endpoint creation fails, we need to free the newly allocated
entry and eventually destroy the paired mptcp listener socket.
Consolidate such action in a single point let all the errors path
reach it.
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions