Skip to content

Commit

Permalink
Squash to "mptcp: use mptcp_set_state" 1
Browse files Browse the repository at this point in the history
Remove the comment.

Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
Geliang Tang authored and intel-lab-lkp committed Dec 19, 2023
1 parent a2c45ff commit d4efd41
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/mptcp/pm_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1048,9 +1048,6 @@ static int mptcp_pm_nl_create_listen_socket(struct sock *sk,
if (err)
return err;

/* avoid replacing inet_sk_state_store with mptcp_set_state here, as the
* old status is known to be TCP_CLOSE, hence will not affect the count.
*/
inet_sk_state_store(newsk, TCP_LISTEN);
lock_sock(ssk);
err = __inet_listen_sk(ssk, backlog);
Expand Down

0 comments on commit d4efd41

Please sign in to comment.