diff options
author | Geliang Tang <geliang.tang@suse.com> | 2023-01-06 21:57:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-09 10:30:49 +0300 |
commit | 109cdeb8dfa3ab18afc7509a5044e48bd9fc89f7 (patch) | |
tree | f1d89922da4d2fd08c5bd2e9eb4b71220f036c82 /net/mptcp/sockopt.c | |
parent | fb59bf28cd638a0b8671bf90b6692fea4898d207 (diff) | |
download | linux-109cdeb8dfa3ab18afc7509a5044e48bd9fc89f7.tar.xz |
mptcp: use msk_owned_by_me helper
The helper msk_owned_by_me() is defined in protocol.h, so use it instead
of sock_owned_by_me().
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/sockopt.c')
-rw-r--r-- | net/mptcp/sockopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/sockopt.c b/net/mptcp/sockopt.c index d4b1e6ec1b36..582ed93bcc8a 100644 --- a/net/mptcp/sockopt.c +++ b/net/mptcp/sockopt.c @@ -18,7 +18,7 @@ static struct sock *__mptcp_tcp_fallback(struct mptcp_sock *msk) { - sock_owned_by_me((const struct sock *)msk); + msk_owned_by_me(msk); if (likely(!__mptcp_check_fallback(msk))) return NULL; |