[PATCH net-next] af_unix: fix a fatal race with bit fields

David Miller davem at davemloft.net
Wed May 1 17:36:50 EST 2013


From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Wed, 01 May 2013 11:39:53 +1000

> I'm not even completely certain bytes are safe to be honest, though
> probably more than bitfields. I'll poke our compiler people.

Older Alpha only has 32-bit and 64-bit loads and stores, so byte sized
accesses are not atomic, and therefore use racey read-modify-write
sequences.


More information about the Linuxppc-dev mailing list