diff options
| author | Huw Davies <[email protected]> | 2016-06-27 19:06:17 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2016-06-27 19:06:17 +0000 |
| commit | 4fee5242bf41d9ad641d4c1b821e36eb7ba37fbf (patch) | |
| tree | 6b79290fc0dbeffe30945235ca86576b652c84dd /net/ipv6/tcp_ipv6.c | |
| parent | calipso: Add validation of CALIPSO option. (diff) | |
| download | kernel-4fee5242bf41d9ad641d4c1b821e36eb7ba37fbf.tar.gz kernel-4fee5242bf41d9ad641d4c1b821e36eb7ba37fbf.zip | |
calipso: Add a label cache.
This works in exactly the same way as the CIPSO label cache.
The idea is to allow the lsm to cache the result of a secattr
lookup so that it doesn't need to perform the lookup for
every skbuff.
It introduces two sysctl controls:
calipso_cache_enable - enables/disables the cache.
calipso_cache_bucket_size - sets the size of a cache bucket.
Signed-off-by: Huw Davies <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
