Staging
v0.8.1
https://github.com/torvalds/linux
Revision ffb733c65000ee701294f7b80c4eca2a5f335637 authored by paul.moore@hp.com on 04 October 2006, 15:46:31 UTC, committed by David S. Miller on 12 October 2006, 06:59:29 UTC
Testing revealed a problem with the NetLabel cache where a cached entry could
be freed while in use by the LSM layer causing an oops and other problems.
This patch fixes that problem by introducing a reference counter to the cache
entry so that it is only freed when it is no longer in use.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
1 parent c25d518
History
Tip revision: ffb733c65000ee701294f7b80c4eca2a5f335637 authored by paul.moore@hp.com on 04 October 2006, 15:46:31 UTC
NetLabel: fix a cache race condition
Tip revision: ffb733c
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 20.1 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 34.6 KB
shm.c -rw-r--r-- 23.7 KB
util.c -rw-r--r-- 18.9 KB
util.h -rw-r--r-- 3.1 KB

back to top