aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2022-04-08 12:45:54 -0700
committerDavid S. Miller <[email protected]>2022-04-11 11:55:53 +0100
commit65a569b03ca832ebc93ce45a7466137e2bb62254 (patch)
treea778e380dd4376b27989a3245bde7484bce5c97e /tools/perf/scripts/python/net_dropmonitor.py
parent4696ad36d76423c56df02b5485a14629dbcbb9af (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 <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions