Skip to content

Commit

Permalink
[NET]: Shave sizeof(ptr) bytes off dst_entry
Browse files Browse the repository at this point in the history
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
herbertx authored and David S. Miller committed Apr 20, 2005
1 parent 561bbe3 commit c4d5411
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/net/dst.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit c4d5411

Please sign in to comment.