commit | fa25e815d963115eb06036a8f6a50e724bc259e2 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Thu Jul 23 13:02:33 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 23 11:47:24 2020 -0700 |
tree | f23fc8a10c046f4634ea10984793dc68f449d8fb | |
parent | b93df08ccda326ef89a6e80fb796588b9a30a980 [diff] |
mptcp: cleanup subflow_finish_connect() The mentioned function has several unneeded branches, handle each case - MP_CAPABLE, MP_JOIN, fallback - under a single conditional and drop quite a bit of duplicate code. Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Tested-by: Christoph Paasch <cpaasch@apple.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>