Pavel Emelyanov
5e0f8923f3
cipso: Relax too much careful cipso hash function.
...
The cipso_v4_cache is allocated to contain CIPSO_V4_CACHE_BUCKETS
buckets. The CIPSO_V4_CACHE_BUCKETS = 1 << CIPSO_V4_CACHE_BUCKETBITS,
where CIPSO_V4_CACHE_BUCKETBITS = 7.
The bucket-selection function for this hash is calculated like this:
bkt = hash & (CIPSO_V4_CACHE_BUCKETBITS - 1);
^^^
i.e. picking only 4 buckets of possible 128 :)
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-13 23:23:55 -07:00
..
2008-04-29 03:21:23 -07:00
2008-05-02 02:45:42 -07:00
2008-04-29 08:06:25 -07:00
2008-05-12 20:48:31 -07:00
2008-05-13 23:23:55 -07:00
2008-03-26 04:39:55 +09:00
2008-03-27 16:08:03 -07:00
2008-03-26 04:39:55 +09:00
2008-04-24 01:02:16 -07:00
2008-03-26 04:39:55 +09:00
2008-04-16 02:00:50 -07:00
2008-04-24 01:02:16 -07:00
2008-04-29 03:32:25 -07:00
2008-05-12 20:48:31 -07:00
2008-04-14 02:42:27 -07:00
2008-04-02 22:35:23 -07:00
2008-04-17 23:18:15 -07:00
2008-04-16 02:00:28 -07:00
2008-04-02 22:35:23 -07:00
2008-04-14 04:09:00 -07:00
2008-04-16 01:11:36 -07:00
2008-05-08 01:11:04 -07:00
2008-04-21 02:34:08 -07:00
2008-04-29 22:36:30 -07:00
2008-04-29 03:23:22 -07:00
2008-04-18 22:15:50 -04:00
2008-05-12 20:48:31 -07:00
2008-04-16 01:06:18 -07:00
2008-03-26 04:39:55 +09:00
2008-04-11 13:18:01 -06:00
2008-03-06 16:22:02 -08:00
2008-04-14 11:15:49 +02:00
2008-03-31 19:43:18 -07:00
2008-05-12 20:48:31 -07:00
2008-05-04 22:14:42 -07:00
2008-04-10 03:12:40 -07:00
2008-03-26 01:56:24 -07:00
2008-02-28 22:14:32 -08:00
2008-04-29 03:13:52 -07:00
2008-03-04 14:17:41 -08:00
2008-05-01 02:47:38 -07:00
2008-05-13 02:54:19 -07:00
2008-05-02 04:10:08 -07:00
2008-03-21 16:33:01 -07:00
2008-04-15 20:36:55 -07:00
2008-04-24 21:11:58 -07:00
2008-04-14 04:09:36 -07:00
2008-05-01 02:47:38 -07:00
2008-05-01 02:47:38 -07:00
2008-04-21 02:27:58 -07:00
2008-04-16 01:17:39 -07:00
2008-03-22 16:51:21 -07:00
2008-05-02 04:10:08 -07:00
2008-03-28 18:25:53 -07:00
2008-03-26 16:51:09 -07:00
2008-03-24 14:51:51 -07:00
2008-03-24 14:51:51 -07:00
2008-03-26 04:39:53 +09:00
2008-03-26 16:51:09 -07:00