Re: [PATCH] net: batman-adv: Use built-in RCU list checking

From: Sven Eckelmann
Date: Sun Feb 16 2020 - 11:17:49 EST

On Sunday, 16 February 2020 16:52:44 CET Madhuparna Bhowmik wrote:
> > I understand this part. I was asking how you've identified them. Did you use
> > any tool for that? coccinelle, sparse, ...
> Not really, I did it manually by inspecting each occurence.

In that case, I don't understand why you didn't convert the occurrences from
hlist_for_each_entry_rcu to hlist_for_each_entry [1]. Because a manual
inspection should have noticed that there will always be the lock around
these ones.

KInd regards,


Attachment: signature.asc
Description: This is a digitally signed message part.