summaryrefslogtreecommitdiff
path: root/net/mptcp/pm_kernel.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>2025-09-25 13:32:47 +0300
committerJakub Kicinski <kuba@kernel.org>2025-09-27 03:44:05 +0300
commitdb9a0e3858ba8acbe4f78edcb8c2061aee53dfa4 (patch)
treea9cbc63467b21ff40c88a3d89455e36e638f3ffb /net/mptcp/pm_kernel.c
parente9aa044f4a1f7c7a858b96ea1fc7c642095ef4b8 (diff)
downloadlinux-db9a0e3858ba8acbe4f78edcb8c2061aee53dfa4.tar.xz
mptcp: pm: in-kernel: remove stale_loss_cnt
It is currently not used. It was in fact never used since its introduction in commit ff5a0b421cb2 ("mptcp: faster active backup recovery"). It was probably initially added to struct pm_nl_pernet during the development of this commit, before being added to struct mptcp_pernet in ctrl.c, but not removed from the first place. Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20250925-net-next-mptcp-c-flag-laminar-v1-12-ad126cc47c6b@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/pm_kernel.c')
-rw-r--r--net/mptcp/pm_kernel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mptcp/pm_kernel.c b/net/mptcp/pm_kernel.c
index d30b06605f62..0e1e99e72950 100644
--- a/net/mptcp/pm_kernel.c
+++ b/net/mptcp/pm_kernel.c
@@ -19,7 +19,6 @@ struct pm_nl_pernet {
spinlock_t lock;
struct list_head endp_list;
unsigned int endpoints;
- unsigned int stale_loss_cnt;
unsigned int endp_signal_max;
unsigned int endp_subflow_max;
unsigned int limit_add_addr_accepted;
@@ -1469,7 +1468,6 @@ static int __net_init pm_nl_init_net(struct net *net)
/* Cit. 2 subflows ought to be enough for anybody. */
pernet->limit_extra_subflows = 2;
pernet->next_id = 1;
- pernet->stale_loss_cnt = 4;
spin_lock_init(&pernet->lock);
/* No need to initialize other pernet fields, the struct is zeroed at