X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Finetpeer.h;h=ad8404b5611372bbecc7b1759463bb817e8051df;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=f13cc0c2b163f76eeb45cfabc4d5a7591f854635;hpb=5206a79d7b217c139116fc6faef55d1c0e65c800;p=linux-2.6 diff --git a/include/net/inetpeer.h b/include/net/inetpeer.h index f13cc0c2b1..ad8404b561 100644 --- a/include/net/inetpeer.h +++ b/include/net/inetpeer.h @@ -17,14 +17,15 @@ struct inet_peer { + /* group together avl_left,avl_right,v4daddr to speedup lookups */ struct inet_peer *avl_left, *avl_right; - struct inet_peer *unused_next, **unused_prevp; - __u32 dtime; /* the time of last use of not - * referenced entries */ - atomic_t refcnt; __be32 v4daddr; /* peer's address */ __u16 avl_height; __u16 ip_id_count; /* IP ID for the next packet */ + struct list_head unused; + __u32 dtime; /* the time of last use of not + * referenced entries */ + atomic_t refcnt; atomic_t rid; /* Frag reception counter */ __u32 tcp_ts; unsigned long tcp_ts_stamp;