[ATM]: Fix build after neigh->parms->neigh_destructor change.
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:30:23 +0000 (22:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:30:23 +0000 (22:30 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/clip.c

index 73370de97539421c2f11e116dbdc35a8efef7632..3ab4e7947bab38435755b6cfad29cabf31c46701 100644 (file)
@@ -289,7 +289,6 @@ static void clip_neigh_error(struct neighbour *neigh,struct sk_buff *skb)
 
 static struct neigh_ops clip_neigh_ops = {
        .family =               AF_INET,
-       .destructor =           clip_neigh_destroy,
        .solicit =              clip_neigh_solicit,
        .error_report =         clip_neigh_error,
        .output =               dev_queue_xmit,
@@ -347,6 +346,7 @@ static struct neigh_table clip_tbl = {
        /* parameters are copied from ARP ... */
        .parms = {
                .tbl                    = &clip_tbl,
+               .neigh_destructor       = clip_neigh_destroy,
                .base_reachable_time    = 30 * HZ,
                .retrans_time           = 1 * HZ,
                .gc_staletime           = 60 * HZ,