lkml.org 
[lkml]   [2022]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net-next 3/7] rxrpc: Fix locking issue
Date
Jakub Kicinski <kuba@kernel.org> wrote:

> > + lh = rcu_dereference(((struct list_head *)v)->next);
>
> Can we use list_next_rcu() here maybe ? to avoid the sparse warning?

Sure.

David

\
 
 \ /
  Last update: 2022-05-21 09:28    [W:1.299 / U:25.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site