aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/clang/lib/Headers/smmintrin.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2021-12-04 17:49:36 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2021-12-06 17:32:31 +0000
commitd74b7baeb0d419fce46994075b6ccf944a0fae9a (patch)
tree8e0150c7d686f379f6ef2661e1b13bf24b7dda5f /contrib/llvm-project/clang/lib/Headers/smmintrin.h
parent7b40b00fad1606eaa98a7b116ba8651221d55f62 (diff)
downloadsrc-d74b7baeb0d419fce46994075b6ccf944a0fae9a.tar.gz
src-d74b7baeb0d419fce46994075b6ccf944a0fae9a.zip
ifnet_byindex() actually requires network epoch
Sweep over potentially unsafe calls to ifnet_byindex() and wrap them in epoch. Most of the code touched remains unsafe, as the returned pointer is being used after epoch exit. Mark that with a comment. Validate the index argument inside the function, reducing argument validation requirement from the callers and making V_if_index private to if.c. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D33263
Diffstat (limited to 'contrib/llvm-project/clang/lib/Headers/smmintrin.h')
0 files changed, 0 insertions, 0 deletions