diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2010-11-22 12:42:32 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2010-11-22 12:42:32 +0000 |
commit | 526384ecf2e4ceb79190afbf68b79d001966c75f (patch) | |
tree | 460bd52c1fb7c3e4c753f95d66a5928d1b6efa74 /sbin | |
parent | 09c7c81c16d6b9c8d678fd976e396f6c5ff2ad7b (diff) | |
download | src-526384ecf2e4ceb79190afbf68b79d001966c75f.tar.gz src-526384ecf2e4ceb79190afbf68b79d001966c75f.zip |
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
Notes
Notes:
svn path=/head/; revision=215675
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions