[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211207220531.48a78cc0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 7 Dec 2021 22:05:31 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Kuniyuki Iwashima <kuniyu@...zon.co.jp>
Cc: "David S. Miller" <davem@...emloft.net>,
Benjamin Herrenschmidt <benh@...zon.com>,
Kuniyuki Iwashima <kuni1840@...il.com>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] sock: Use sock_owned_by_user_nocheck() instead
of sk_lock.owned.
On Wed, 8 Dec 2021 14:39:24 +0900 Kuniyuki Iwashima wrote:
> static inline void sock_release_ownership(struct sock *sk)
> {
> - if (sk->sk_lock.owned) {
> + if (sock_owned_by_user_nocheck(sk) {
ENOTBUILT
Powered by blists - more mailing lists