Messages in this thread | | | Date | Mon, 16 Mar 2020 17:19:32 -0700 (PDT) | Subject | Re: [PATCH] net: kcm: kcmproc.c: Fix RCU list suspicious usage warning | From | David Miller <> |
| |
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.
| |