summaryrefslogtreecommitdiffstats
path: root/net/atm
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-07-25 02:01:28 +0200
committerDavid S. Miller <davem@davemloft.net>2011-12-01 00:46:43 +0100
commit76cc714ed5fe6ed90aad5c52ff3030f1f4e22a48 (patch)
tree400ab85cded60f5792ff9d4a32d12d4035ee03ff /net/atm
parentneigh: Add infrastructure for allocating device neigh privates. (diff)
downloadlinux-76cc714ed5fe6ed90aad5c52ff3030f1f4e22a48.tar.xz
linux-76cc714ed5fe6ed90aad5c52ff3030f1f4e22a48.zip
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/atm')
-rw-r--r--net/atm/clip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c
index aea7cad2ece1..b1c7ada83b83 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -322,7 +322,6 @@ static u32 clip_hash(const void *pkey, const struct net_device *dev, __u32 rnd)
static struct neigh_table clip_tbl = {
.family = AF_INET,
- .entry_size = sizeof(struct neighbour)+sizeof(struct atmarp_entry),
.key_len = 4,
.hash = clip_hash,
.constructor = clip_constructor,