From: Herbert Xu Date: Wed, 20 Apr 2005 03:46:37 +0000 (-0700) Subject: [NET]: Shave sizeof(ptr) bytes off dst_entry X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c4d541106bc5d0a2134aaf9e8735eee3c70b0db2;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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 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;