aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
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/ipv6
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/ipv6')
-rw-r--r--net/ipv6/ndisc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 2854705b15ea..cfb9709ac7c9 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -126,7 +126,6 @@ static const struct neigh_ops ndisc_direct_ops = {
126 126
127struct neigh_table nd_tbl = { 127struct neigh_table nd_tbl = {
128 .family = AF_INET6, 128 .family = AF_INET6,
129 .entry_size = sizeof(struct neighbour) + sizeof(struct in6_addr),
130 .key_len = sizeof(struct in6_addr), 129 .key_len = sizeof(struct in6_addr),
131 .hash = ndisc_hash, 130 .hash = ndisc_hash,
132 .constructor = ndisc_constructor, 131 .constructor = ndisc_constructor,