]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mptcp: pm: in-kernel: clarify mptcp_pm_remove_anno_addr()
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Thu, 5 Feb 2026 17:34:22 +0000 (18:34 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Feb 2026 04:35:06 +0000 (20:35 -0800)
commit364a7084df9f6f1f9383c0c90bb68f9fa49447cd
tree6d6a50efec256ed31ad3c0db8a5f868a4e26fe63
parentd191101dee25567c2af3b28565f45346c33d65f5
mptcp: pm: in-kernel: clarify mptcp_pm_remove_anno_addr()

The variable 'ret' was used, but it was not cleared what it was, and
probably led to an issue [1].

Rename it to 'announced' to avoid confusions.

While at it, remove the returned value of the helper: it is only used in
one place, and the returned value is not used.

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/606
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260205-net-mptcp-misc-fixes-6-19-rc8-v2-2-c2720ce75c34@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_kernel.c