Thread (3 messages) 3 messages, 2 authors, 2021-12-08

Re: [PATCH net-next] sock: Use sock_owned_by_user_nocheck() instead of sk_lock.owned.

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-12-08 06:05:37

On Wed, 8 Dec 2021 14:39:24 +0900 Kuniyuki Iwashima wrote:
quoted hunk ↗ jump to hunk
 static inline void sock_release_ownership(struct sock *sk)
 {
-	if (sk->sk_lock.owned) {
+	if (sock_owned_by_user_nocheck(sk) {
ENOTBUILT
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help