projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561bbe3
)
[NET]: Shave sizeof(ptr) bytes off dst_entry
author
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 20 Apr 2005 03:46:37 +0000
(20:46 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/include/net/dst.h
b/include/net/dst.h
index 50adc913653099ea49c2753aeae0438c4a380bdd..4a056a68243540fa610a9363bef13c6a0b59c7ef 100644
(file)
--- 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;