]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: use mptcp_set_state
authorGeliang Tang <geliang.tang@linux.dev>
Fri, 22 Dec 2023 12:47:23 +0000 (13:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:34:57 +0000 (13:34 +0100)
commitd52b3c2b29510673472744972adc6f31bd4917ca
tree0484f2fe5361b6827b1f7cf0a03552bf9e18eb10
parent5655754731398d056c1be0b80688fa95ecbb96b9
mptcp: use mptcp_set_state

[ Upstream commit c693a8516429908da3ea111b0caa3c042ab1e6e9 ]

This patch replaces all the 'inet_sk_state_store()' calls under net/mptcp
with the new helper mptcp_set_state().

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/460
Signed-off-by: Geliang Tang <geliang.tang@linux.dev>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: e4a0fa47e816 ("mptcp: corner case locking for rx path fields initialization")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mptcp/pm_netlink.c
net/mptcp/protocol.c
net/mptcp/subflow.c