aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-07-24 20:01:28 -0400
committerDavid S. Miller <davem@davemloft.net>2011-11-30 18:46:43 -0500
commit76cc714ed5fe6ed90aad5c52ff3030f1f4e22a48 (patch)
tree400ab85cded60f5792ff9d4a32d12d4035ee03ff /net/ipv4/arp.c
parent596b9b68ef118f7409afbc78487263e08ef96261 (diff)
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>
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r--net/ipv4/arp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index 5c29ac5b0c3a..fd4b3e829a18 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -164,7 +164,6 @@ static const struct neigh_ops arp_broken_ops = {
164 164
165struct neigh_table arp_tbl = { 165struct neigh_table arp_tbl = {
166 .family = AF_INET, 166 .family = AF_INET,
167 .entry_size = sizeof(struct neighbour) + 4,
168 .key_len = 4, 167 .key_len = 4,
169 .hash = arp_hash, 168 .hash = arp_hash,
170 .constructor = arp_constructor, 169 .constructor = arp_constructor,