From 2faaeb145f59942cafd458cde07cf6491714885e Mon Sep 17 00:00:00 2001 From: Geliang Tang Date: Tue, 19 Dec 2023 10:03:55 +0800 Subject: [PATCH] Squash to "mptcp: use mptcp_set_state" 2 Use mptcp_set_state() in mptcp_pm_nl_create_listen_socket(). Signed-off-by: Geliang Tang --- net/mptcp/pm_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c index c35ae045a925d0..1b754cf525de95 100644 --- a/net/mptcp/pm_netlink.c +++ b/net/mptcp/pm_netlink.c @@ -1030,7 +1030,7 @@ static int mptcp_pm_nl_create_listen_socket(struct sock *sk, lock_sock(newsk); ssk = __mptcp_nmpc_sk(mptcp_sk(newsk)); - inet_sk_state_store(newsk, TCP_LISTEN); + mptcp_set_state(newsk, TCP_LISTEN); release_sock(newsk); if (IS_ERR(ssk)) return PTR_ERR(ssk);