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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 16 Mar 2020 17:19:32 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     madhuparnabhowmik10@...il.com
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        frextrite@...il.com, paulmck@...nel.org, joel@...lfernandes.org
Subject: Re: [PATCH] net: kcm: kcmproc.c: Fix RCU list suspicious usage
 warning

From: madhuparnabhowmik10@...il.com
Date: Mon, 16 Mar 2020 22:43:52 +0530

> From: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
> 
> This path fixes the suspicious RCU usage warning reported by
> kernel test robot.
> 
> net/kcm/kcmproc.c:#RCU-list_traversed_in_non-reader_section
> 
> There is no need to use list_for_each_entry_rcu() in
> kcm_stats_seq_show() as the list is always traversed under
> knet->mutex held.
> 
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>

Applied to net-next, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ