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] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ