summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-04-20 05:46:37 +0200
committerDavid S. Miller <davem@nuts.(none)>2005-04-20 05:46:37 +0200
commitc4d541106bc5d0a2134aaf9e8735eee3c70b0db2 (patch)
treebff220245285154b45094d89e8b75f94d61d502b /include/net
parent[PATCH] freepgt: remove FIRST_USER_ADDRESS hack (diff)
downloadlinux-c4d541106bc5d0a2134aaf9e8735eee3c70b0db2.tar.xz
linux-c4d541106bc5d0a2134aaf9e8735eee3c70b0db2.zip
[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>
Diffstat (limited to 'include/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
int __use;
struct dst_entry *child;
struct net_device *dev;
- int obsolete;
+ short error;
+ short obsolete;
int flags;
#define DST_HOST 1
#define DST_NOXFRM 2
@@ -61,8 +62,6 @@ struct dst_entry
unsigned long rate_last; /* rate limiting for ICMP */
unsigned long rate_tokens;
- int error;
-
struct neighbour *neighbour;
struct hh_cache *hh;
struct xfrm_state *xfrm;