lkml.org 
[lkml]   [2020]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: kcm: kcmproc.c: Fix RCU list suspicious usage warning
From
From: madhuparnabhowmik10@gmail.com
Date: Mon, 16 Mar 2020 22:43:52 +0530

> From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.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@intel.com>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>

Applied to net-next, thanks.

\
 
 \ /
  Last update: 2020-03-17 01:20    [W:0.033 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site