diff options
author | netchild <netchild@FreeBSD.org> | 2010-11-22 12:42:32 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2010-11-22 12:42:32 +0000 |
commit | 81eaf1c5874fd3b8b14321ec439cbaf24c2c4474 (patch) | |
tree | 460bd52c1fb7c3e4c753f95d66a5928d1b6efa74 /usr.sbin/named | |
parent | 316b5514e8e91207203d63d5842d786527a5b8b8 (diff) | |
download | FreeBSD-src-81eaf1c5874fd3b8b14321ec439cbaf24c2c4474.zip FreeBSD-src-81eaf1c5874fd3b8b14321ec439cbaf24c2c4474.tar.gz |
Do not take the process lock. The assignment to u_short inside the
properly aligned structure is atomic on all supported architectures, and
the thread that should see side-effect of assignment is the same thread
that does assignment.
Use a more appropriate conditional to detect the linux ABI.
Suggested by: kib
X-MFC: together with r215664
Diffstat (limited to 'usr.sbin/named')
0 files changed, 0 insertions, 0 deletions