소스 검색

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

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 19 년 전
부모
커밋
aa837b5bbd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      net/atm/clip.c

+ 1 - 1
net/atm/clip.c

@@ -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 = {
 	/* 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,