lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211208061525.53519-1-kuniyu@amazon.co.jp>
Date:   Wed, 8 Dec 2021 15:15:25 +0900
From:   Kuniyuki Iwashima <kuniyu@...zon.co.jp>
To:     <kuba@...nel.org>
CC:     <benh@...zon.com>, <davem@...emloft.net>, <kuni1840@...il.com>,
        <kuniyu@...zon.co.jp>, <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] sock: Use sock_owned_by_user_nocheck() instead of sk_lock.owned.

From:   Jakub Kicinski <kuba@...nel.org>
Date:   Tue, 7 Dec 2021 22:05:31 -0800
> 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

Oops, will move sock_release_ownership() down in v2.
Thank you!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ