Re: [syzbot] [bpf?] KCSAN: data-race in __bpf_lru_list_rotate / __htab_lru_percpu_map_update_elem (5)
From: Martin KaFai Lau
Date: Tue Apr 25 2023 - 12:31:22 EST
On 4/25/23 8:08 AM, Alexei Starovoitov wrote:
Martin,
Please take a look at the trace below.
I think we just need to annotate bpf_lru_node_set_ref() with data_race().
wdyt?
Agreed. node->ref needs a data_race(). I will post a patch.