|
@@ -30,8 +30,8 @@ struct flow_cache_entry {
|
|
struct flow_cache_entry *next;
|
|
struct flow_cache_entry *next;
|
|
u16 family;
|
|
u16 family;
|
|
u8 dir;
|
|
u8 dir;
|
|
- struct flowi key;
|
|
|
|
u32 genid;
|
|
u32 genid;
|
|
|
|
+ struct flowi key;
|
|
void *object;
|
|
void *object;
|
|
atomic_t *object_ref;
|
|
atomic_t *object_ref;
|
|
};
|
|
};
|
|
@@ -346,7 +346,7 @@ static int __init flow_cache_init(void)
|
|
|
|
|
|
flow_cachep = kmem_cache_create("flow_cache",
|
|
flow_cachep = kmem_cache_create("flow_cache",
|
|
sizeof(struct flow_cache_entry),
|
|
sizeof(struct flow_cache_entry),
|
|
- 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC,
|
|
|
|
|
|
+ 0, SLAB_PANIC,
|
|
NULL);
|
|
NULL);
|
|
flow_hash_shift = 10;
|
|
flow_hash_shift = 10;
|
|
flow_lwm = 2 * flow_hash_size;
|
|
flow_lwm = 2 * flow_hash_size;
|