summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2008-04-10 14:48:14 (GMT)
committerJames Morris <jmorris@namei.org>2008-04-18 10:26:16 (GMT)
commit3e11217263d0521e212cb8a017fbc2a1514db78f (patch)
treed3b399c3d907cd90afd27003000fd9d99212f44b /net/xfrm/xfrm_state.c
parent832cbd9aa1293cba57d06571f5fc8f0917c672af (diff)
downloadlinux-fsl-qoriq-3e11217263d0521e212cb8a017fbc2a1514db78f.tar.xz
SELinux: Add network port SID cache
Much like we added a network node cache, this patch adds a network port cache. The design is taken almost completely from the network node cache which in turn was taken from the network interface cache. The basic idea is to cache entries in a hash table based on protocol/port information. The hash function only takes the port number into account since the number of different protocols in use at any one time is expected to be relatively small. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
0 files changed, 0 insertions, 0 deletions