commit | 65a569b03ca832ebc93ce45a7466137e2bb62254 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Fri Apr 08 12:45:54 2022 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 11 11:55:53 2022 +0100 |
tree | a778e380dd4376b27989a3245bde7484bce5c97e | |
parent | 4696ad36d76423c56df02b5485a14629dbcbb9af [diff] |
mptcp: optimize release_cb for the common case The mptcp release callback checks several flags in atomic context, but only MPTCP_CLEAN_UNA can be up frequently. Reorganize the code to avoid multiple conditionals in the most common scenarios. Additional clarify a related comment. 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>