From: Herbert Xu Date: Wed, 20 Apr 2005 03:46:37 +0000 (-0700) Subject: [NET]: Shave sizeof(ptr) bytes off dst_entry X-Git-Tag: v2.6.12-rc3~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4d541106bc5d0a2134aaf9e8735eee3c70b0db2;p=linux-2.6 [NET]: Shave sizeof(ptr) bytes off dst_entry Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- diff --git a/include/net/dst.h b/include/net/dst.h index 50adc91365..4a056a6824 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;