Commit aa837b5b authored by David S. Miller's avatar David S. Miller

[ATM]: Fix build after neigh->parms->neigh_destructor change.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e9e67800
...@@ -289,7 +289,6 @@ static void clip_neigh_error(struct neighbour *neigh,struct sk_buff *skb) ...@@ -289,7 +289,6 @@ static void clip_neigh_error(struct neighbour *neigh,struct sk_buff *skb)
static struct neigh_ops clip_neigh_ops = { static struct neigh_ops clip_neigh_ops = {
.family = AF_INET, .family = AF_INET,
.destructor = clip_neigh_destroy,
.solicit = clip_neigh_solicit, .solicit = clip_neigh_solicit,
.error_report = clip_neigh_error, .error_report = clip_neigh_error,
.output = dev_queue_xmit, .output = dev_queue_xmit,
...@@ -347,6 +346,7 @@ static struct neigh_table clip_tbl = { ...@@ -347,6 +346,7 @@ static struct neigh_table clip_tbl = {
/* parameters are copied from ARP ... */ /* parameters are copied from ARP ... */
.parms = { .parms = {
.tbl = &clip_tbl, .tbl = &clip_tbl,
.neigh_destructor = clip_neigh_destroy,
.base_reachable_time = 30 * HZ, .base_reachable_time = 30 * HZ,
.retrans_time = 1 * HZ, .retrans_time = 1 * HZ,
.gc_staletime = 60 * HZ, .gc_staletime = 60 * HZ,
......
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