aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-04-19 23:46:37 -0400
committerDavid S. Miller <davem@nuts.(none)>2005-04-19 23:46:37 -0400
commitc4d541106bc5d0a2134aaf9e8735eee3c70b0db2 (patch)
treebff220245285154b45094d89e8b75f94d61d502b
parent561bbe3235da614562fb26bb14042af684971a2d (diff)
[NET]: Shave sizeof(ptr) bytes off dst_entry
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/dst.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 50adc9136530..4a056a682435 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -42,7 +42,8 @@ struct dst_entry
42 int __use; 42 int __use;
43 struct dst_entry *child; 43 struct dst_entry *child;
44 struct net_device *dev; 44 struct net_device *dev;
45 int obsolete; 45 short error;
46 short obsolete;
46 int flags; 47 int flags;
47#define DST_HOST 1 48#define DST_HOST 1
48#define DST_NOXFRM 2 49#define DST_NOXFRM 2
@@ -61,8 +62,6 @@ struct dst_entry
61 unsigned long rate_last; /* rate limiting for ICMP */ 62 unsigned long rate_last; /* rate limiting for ICMP */
62 unsigned long rate_tokens; 63 unsigned long rate_tokens;
63 64
64 int error;
65
66 struct neighbour *neighbour; 65 struct neighbour *neighbour;
67 struct hh_cache *hh; 66 struct hh_cache *hh;
68 struct xfrm_state *xfrm; 67 struct xfrm_state *xfrm;