summaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-04-19 20:46:37 -0700
committerDavid S. Miller <davem@nuts.(none)>2005-04-19 20:46:37 -0700
commitc4d541106bc5d0a2134aaf9e8735eee3c70b0db2 (patch)
treebff220245285154b45094d89e8b75f94d61d502b /include/net/dst.h
parent561bbe3235da614562fb26bb14042af684971a2d (diff)
downloadblackbird-op-linux-c4d541106bc5d0a2134aaf9e8735eee3c70b0db2.tar.gz
blackbird-op-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/dst.h')
-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;
OpenPOWER on IntegriCloud