linux-sg2042/net/netlabel
paul.moore@hp.com ffb733c650 NetLabel: fix a cache race condition
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>
2006-10-11 23:59:29 -07:00
..
Kconfig [NetLabel]: update docs with website information 2006-09-25 15:57:13 -07:00
Makefile [NetLabel]: core NetLabel subsystem 2006-09-22 14:53:34 -07:00
netlabel_cipso_v4.c [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_cipso_v4.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_domainhash.c [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_domainhash.h [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_kapi.c NetLabel: fix a cache race condition 2006-10-11 23:59:29 -07:00
netlabel_mgmt.c [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_mgmt.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_unlabeled.c [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_unlabeled.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_user.c [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_user.h [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00