diff options
author | gonzo <gonzo@FreeBSD.org> | 2015-02-09 02:31:27 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2015-02-09 02:31:27 +0000 |
commit | 0e8f15c1955b01cf082fe6bc42d4376daeac3f73 (patch) | |
tree | 1499f7580e75596e3c5e46a40abf1228c6ac53be /sbin/fsirand | |
parent | 17a9c0e974f9796848510329b0a076e1198d0e5b (diff) | |
download | FreeBSD-src-0e8f15c1955b01cf082fe6bc42d4376daeac3f73.zip FreeBSD-src-0e8f15c1955b01cf082fe6bc42d4376daeac3f73.tar.gz |
Do not mark shared structures as __packed, it leads to race condition
If structure packed as __packed clang (and probably gcc) generates
code that loads word fields (e.g. tx_pos) byte-by-byte and if it's
modified by VideoCore in the same time as ARM loads the value result
is going to be mixed combination of bytes from previous value and
new one.
Diffstat (limited to 'sbin/fsirand')
0 files changed, 0 insertions, 0 deletions