[PATCH] add missing memory barriers to ipc/sem.c
authorManfred Spraul <manfred@colorfullife.com>
Fri, 23 Dec 2005 22:57:41 +0000 (23:57 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 24 Dec 2005 20:13:27 +0000 (12:13 -0800)
Two smp_wmb() statements are missing in the sysv sem code: This could
cause stack corruptions.

The attached patch adds them.

Signed-Off-By: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found