]> err.no Git - linux-2.6/commitdiff
[NET]: Shave sizeof(ptr) bytes off dst_entry
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 20 Apr 2005 03:46:37 +0000 (20:46 -0700)
committerDavid S. Miller <davem@nuts.(none)>
Wed, 20 Apr 2005 03:46:37 +0000 (20:46 -0700)
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h

index 50adc913653099ea49c2753aeae0438c4a380bdd..4a056a68243540fa610a9363bef13c6a0b59c7ef 100644 (file)
@@ -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;