aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-12-27 15:13:29 +0000
committerMark Johnston <markj@FreeBSD.org>2023-12-27 15:13:29 +0000
commit99efa2c88d93c6272a8f54b18d18d0fd9d60f137 (patch)
tree437d8d0e47ef5620c22d826fd207286242d24842 /targets
parentb9924c202fc34004d4164cdc50f88d8fcef26279 (diff)
downloadsrc-99efa2c88d93c6272a8f54b18d18d0fd9d60f137.tar.gz
src-99efa2c88d93c6272a8f54b18d18d0fd9d60f137.zip
netmap: Ignore errors in CSB_WRITE()
The CSB_WRITE() and _READ() macros respectively write to and read from userspace memory and so can in principle fault. However, we do not check for errors and will proceed blindly if they fail. Add assertions to verify that they do not. This is in preparation for annotating copyin() and related functions with __result_use_check. Reviewed by: vmaffione MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43200
Diffstat (limited to 'targets')
0 files changed, 0 insertions, 0 deletions