Commit e38f27f0 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[NET]: Kill bogus kmem cache alignment in neigh_table_init().

parent a52dca4e
...@@ -1164,8 +1164,7 @@ void neigh_table_init(struct neigh_table *tbl) ...@@ -1164,8 +1164,7 @@ void neigh_table_init(struct neigh_table *tbl)
if (!tbl->kmem_cachep) if (!tbl->kmem_cachep)
tbl->kmem_cachep = kmem_cache_create(tbl->id, tbl->kmem_cachep = kmem_cache_create(tbl->id,
(tbl->entry_size + tbl->entry_size,
15) & ~15,
0, SLAB_HWCACHE_ALIGN, 0, SLAB_HWCACHE_ALIGN,
NULL, NULL); NULL, NULL);
tbl->lock = RW_LOCK_UNLOCKED; tbl->lock = RW_LOCK_UNLOCKED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment