You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
data race
About this tag
The Linux kernel bonding driver recently received a fix for a data race flagged by syzbot and KCSAN. The race involved lockless reads and writes to fields tracking last-received timestamps on bond slaves, specifically slave->last_rx and slave->target_last_arp_rx[]. The upstream fix uses READ_ONCE() and WRITE_ONCE() annotations to eliminate undefined concurrent behavior. This thread discusses the data race, the detection tools, and the surgical nature of the fix, which addresses the issue without broader restructuring. The topic is relevant for developers and system administrators working with Linux networking, kernel debugging, or concurrency correctness.
A small, surgical change landed in the Linux kernel this month after syzbot and KCSAN flagged a data‑race in the bonding driver: fields used to track the last‑received timestamps on bond slaves—most notably slave->last_rx and slave->target_last_arp_rx[]—were being read and written locklessly...