aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <[email protected]>2025-02-28 14:38:39 +0000
committerJakub Kicinski <[email protected]>2025-03-05 00:57:38 +0000
commitf0de92479a098ba930506ed2e715a7aad3887ec1 (patch)
tree020f7be452665126604159b58afe45df8296ca89 /lib/crypto/mpi/mpi-cmp.c
parentmptcp: pm: in-kernel: reduce parameters of set_flags (diff)
downloadkernel-f0de92479a098ba930506ed2e715a7aad3887ec1.tar.gz
kernel-f0de92479a098ba930506ed2e715a7aad3887ec1.zip
mptcp: pm: exit early with ADD_ADDR echo if possible
When the userspace PM is used, or when the in-kernel limits are reached, there will be no need to schedule the PM worker to signal new addresses. That corresponds to pm->work_pending set to 0. In this case, an early exit can be done in mptcp_pm_add_addr_echoed() not to hold the PM lock, and iterate over the announced addresses list, not to schedule the worker anyway in this case. This is similar to what is done when a connection or a subflow has been established. Reviewed-by: Geliang Tang <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20250228-net-next-mptcp-coverage-small-opti-v1-5-f933c4275676@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions