diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-11-13 06:27:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-13 06:27:28 +0100 |
commit | d71209ded2ba6010070d02005384897c59859d00 (patch) | |
tree | a812e34e54e36f74ce9ef61f6e9e42100d0a6ef4 /include | |
parent | [IPVS]: Remove unused exports. (diff) | |
download | linux-d71209ded2ba6010070d02005384897c59859d00.tar.xz linux-d71209ded2ba6010070d02005384897c59859d00.zip |
[INET]: Use list_head-s in inetpeer.c
The inetpeer.c tracks the LRU list of inet_perr-s, but makes
it by hands. Use the list_head-s for this.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/inetpeer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inetpeer.h b/include/net/inetpeer.h index aa10a8178e70..ad8404b56113 100644 --- a/include/net/inetpeer.h +++ b/include/net/inetpeer.h @@ -22,7 +22,7 @@ struct inet_peer __be32 v4daddr; /* peer's address */ __u16 avl_height; __u16 ip_id_count; /* IP ID for the next packet */ - struct inet_peer *unused_next, **unused_prevp; + struct list_head unused; __u32 dtime; /* the time of last use of not * referenced entries */ atomic_t refcnt; |