aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-10-06 11:53:48 -0700
committerJakub Kicinski <[email protected]>2022-10-12 17:50:37 -0700
commit364f997b5cfe1db0d63a390fe7c801fa2b3115f6 (patch)
tree50c240c1c6b235eef2930d133396fb19cfd34127 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentd38afeec26ed4739c640bf286c270559aab2ba5f (diff)
ipv6: Fix data races around sk->sk_prot.
Commit 086d49058cd8 ("ipv6: annotate some data-races around sk->sk_prot") fixed some data-races around sk->sk_prot but it was not enough. Some functions in inet6_(stream|dgram)_ops still access sk->sk_prot without lock_sock() or rtnl_lock(), so they need READ_ONCE() to avoid load tearing. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions