提交 c4d54110 编写于 作者: H Herbert Xu 提交者: David S. Miller

[NET]: Shave sizeof(ptr) bytes off dst_entry

Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 561bbe32
...@@ -42,7 +42,8 @@ struct dst_entry ...@@ -42,7 +42,8 @@ struct dst_entry
int __use; int __use;
struct dst_entry *child; struct dst_entry *child;
struct net_device *dev; struct net_device *dev;
int obsolete; short error;
short obsolete;
int flags; int flags;
#define DST_HOST 1 #define DST_HOST 1
#define DST_NOXFRM 2 #define DST_NOXFRM 2
...@@ -61,8 +62,6 @@ struct dst_entry ...@@ -61,8 +62,6 @@ struct dst_entry
unsigned long rate_last; /* rate limiting for ICMP */ unsigned long rate_last; /* rate limiting for ICMP */
unsigned long rate_tokens; unsigned long rate_tokens;
int error;
struct neighbour *neighbour; struct neighbour *neighbour;
struct hh_cache *hh; struct hh_cache *hh;
struct xfrm_state *xfrm; struct xfrm_state *xfrm;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册