neigh: Do not set tbl->entry_size in ipv4/ipv6 neigh tables.
Let the core self-size the neigh entry based upon the key length. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
596b9b68ef
commit
76cc714ed5
@@ -164,7 +164,6 @@ static const struct neigh_ops arp_broken_ops = {
|
||||
|
||||
struct neigh_table arp_tbl = {
|
||||
.family = AF_INET,
|
||||
.entry_size = sizeof(struct neighbour) + 4,
|
||||
.key_len = 4,
|
||||
.hash = arp_hash,
|
||||
.constructor = arp_constructor,
|
||||
|
Reference in New Issue
Block a user