mptcp: open code mptcp variant for lock_sock
This allows invoking an additional callback under the socket spin lock. Will be used by the next patches to avoid additional spin lock contention. Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
be5724240b
commit
ad80b0fc6e
@@ -1590,6 +1590,7 @@ static inline void lock_sock(struct sock *sk)
|
||||
lock_sock_nested(sk, 0);
|
||||
}
|
||||
|
||||
void __lock_sock(struct sock *sk);
|
||||
void __release_sock(struct sock *sk);
|
||||
void release_sock(struct sock *sk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user