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]
Date:   Mon, 15 Jan 2018 14:23:57 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     ktkhai@...tuozzo.com
Cc:     netdev@...r.kernel.org, eric.dumazet@...il.com,
        ebiederm@...ssion.com
Subject: Re: [PATCH] net: Convert atomic_t net::count to refcount_t

From: Kirill Tkhai <ktkhai@...tuozzo.com>
Date: Fri, 12 Jan 2018 18:28:31 +0300

> Since net could be obtained from RCU lists,
> and there is a race with net destruction,
> the patch converts net::count to refcount_t.
> 
> This provides sanity checks for the cases of
> incrementing counter of already dead net,
> when maybe_get_net() has to used instead
> of get_net().
> 
> Drivers: allyesconfig and allmodconfig are OK.
> 
> Suggested-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>

Applied, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ