From 975dc0dc390802114b5cd7b80c9c2f901c9fb2bb Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 5 May 2003 14:18:41 -0300 Subject: o ipx: convert ipx_route to use list_head --- include/net/ipx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/net/ipx.h b/include/net/ipx.h index a588ad2428c1..864359402b31 100644 --- a/include/net/ipx.h +++ b/include/net/ipx.h @@ -75,7 +75,7 @@ struct ipx_route { struct ipx_interface *ir_intrfc; unsigned char ir_routed; unsigned char ir_router_node[IPX_NODE_LEN]; - struct ipx_route *ir_next; + struct list_head node; /* node in ipx_routes list */ atomic_t refcnt; }; @@ -111,7 +111,7 @@ struct ipx_opt { #define IPX_MIN_EPHEMERAL_SOCKET 0x4000 #define IPX_MAX_EPHEMERAL_SOCKET 0x7fff -extern struct ipx_route *ipx_routes; +extern struct list_head ipx_routes; extern rwlock_t ipx_routes_lock; extern struct list_head ipx_interfaces; -- cgit v1.2.3