]> err.no Git - linux-2.6/commit
NetLabel: convert the unlabeled accept flag to use RCU
authorPaul Moore <paul.moore@hp.com>
Fri, 17 Nov 2006 22:38:44 +0000 (17:38 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:05 +0000 (21:24 -0800)
commitcd28786d6d4209ec32a375d92188ec7b4d98779f
tree61c0d2db9b99dd05b695202cdce7e9ec9c26ff03
parent1f758d93548fb3c6297c05a351a4ba532de6a497
NetLabel: convert the unlabeled accept flag to use RCU

Currently the NetLabel unlabeled packet accept flag is an atomic type and it
is checked for every non-NetLabel packet which comes into the system but rarely
ever changed.  This patch changes this flag to a normal integer and protects it
with RCU locking.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
net/netlabel/netlabel_unlabeled.c