aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2023-04-14 16:08:01 +0200
committerDavid S. Miller <[email protected]>2023-04-17 08:18:34 +0100
commit617612316953093bc859890e405e1b550c27d840 (patch)
treecffad67d38bc322ae51e5b419f9e83a883d5eeeb /scripts/gdb/linux/timerlist.py
parent7a486c443c89bd949f7a64e0040f704e02710b3c (diff)
mptcp: avoid unneeded __mptcp_nmpc_socket() usage
In a few spots, the mptcp code invokes the __mptcp_nmpc_socket() helper multiple times under the same socket lock scope. Additionally, in such places, the socket status ensures that there is no MP capable handshake running. Under the above condition we can replace the later __mptcp_nmpc_socket() helper invocation with direct access to the msk->subflow pointer and better document such access is not supposed to fail with WARN(). Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions