]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commit6003a93e7bf6c02f33c02976ff364785d4273295
treec81c159d6b04f9bffcf9984d5259eb0448683f7d
parenta7c2491a13cc72fc09c062e635b9a77ff6bb4a73
[PATCH] add missing memory barriers to ipc/sem.c

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>
ipc/sem.c