aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2020-11-11 21:14:27 +0000
committerJakub Kicinski <[email protected]>2020-11-14 00:28:59 +0000
commit95f3c5458dfa5856bb110e31d156e00d894d0134 (patch)
tree4126f24ab3ab40099e6797b4c26f63fd5df44184 /tools/bpf/bpftool/prog.c
parentMerge branch 'net-ipa-two-fixes' (diff)
downloadkernel-95f3c5458dfa5856bb110e31d156e00d894d0134.tar.gz
kernel-95f3c5458dfa5856bb110e31d156e00d894d0134.zip
r8169: use READ_ONCE in rtl_tx_slots_avail
tp->dirty_tx and tp->cur_tx may be changed by a racing rtl_tx() or rtl8169_start_xmit(). Use READ_ONCE() to annotate the races and ensure that the compiler doesn't use cached values. Signed-off-by: Heiner Kallweit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions