]> git.baikalelectronics.ru Git - kernel.git/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)
commitd64bede79723f0fbfba6d7cd49cd459ffaae1c32
tree61c0d2db9b99dd05b695202cdce7e9ec9c26ff03
parent52745a9ed96eab5838fee54604ef12a3504383cc
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