mptcp: use mptcp_set_state
authorGeliang Tang <geliang.tang@linux.dev>
Fri, 22 Dec 2023 12:47:23 +0000 (13:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2024 13:33:33 +0000 (13:33 +0000)
commitc693a8516429908da3ea111b0caa3c042ab1e6e9
treee6e3358ab8e5e89413b9594e57ba3734ab1bb601
parentd9cd27b8cd191133e287e5de107f971136abe8a2
mptcp: use mptcp_set_state

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>
net/mptcp/pm_netlink.c
net/mptcp/protocol.c
net/mptcp/subflow.c