summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>2025-02-21 18:44:03 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-25 05:23:44 +0300
commit8275ac799ee15e972841eb77b694d63f5e888519 (patch)
treea359becb06c3565f8614502426a6ea5a888b3df3 /arch/powerpc/lib/code-patching.c
parentb68b106b0f15424db6c78d8c1a0616f698080b9d (diff)
downloadlinux-8275ac799ee15e972841eb77b694d63f5e888519.tar.xz
mptcp: blackhole: avoid checking the state twice
A small cleanup, reordering the conditions to avoid checking things twice. The code here is called in case of timeout on a TCP connection, before triggering a retransmission. But it only acts on SYN + MPC packets. So the conditions can be re-order to exit early in case of non-MPTCP SYN + MPC. This also reduce the indentation levels. Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20250221-net-next-mptcp-pm-misc-cleanup-3-v1-10-2b70ab1cee79@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions