diff options
author | David Miller <davem@davemloft.net> | 2012-06-30 22:02:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-20 16:30:59 -0400 |
commit | 1a00fee4ffb22312a0ac40045ecd6f222b55eb3d (patch) | |
tree | f1154e606c695a85ee810bb9332ebcd5049f359f /include/net/route.h | |
parent | 38a424e4657462fe9f8b76f01a0e879abde99ab4 (diff) |
ipv4: Remove rt_key_{src,dst,tos} from struct rtable.
They are always used in contexts where they can be reconstituted,
or where the finally resolved rt->rt_{src,dst} is semantically
equivalent.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
-rw-r--r-- | include/net/route.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/route.h b/include/net/route.h index 5c86c4773b2b..935fa59630b0 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -44,14 +44,9 @@ struct fib_info; | |||
44 | struct rtable { | 44 | struct rtable { |
45 | struct dst_entry dst; | 45 | struct dst_entry dst; |
46 | 46 | ||
47 | /* Lookup key. */ | ||
48 | __be32 rt_key_dst; | ||
49 | __be32 rt_key_src; | ||
50 | |||
51 | int rt_genid; | 47 | int rt_genid; |
52 | unsigned int rt_flags; | 48 | unsigned int rt_flags; |
53 | __u16 rt_type; | 49 | __u16 rt_type; |
54 | __u8 rt_key_tos; | ||
55 | 50 | ||
56 | __be32 rt_dst; /* Path destination */ | 51 | __be32 rt_dst; /* Path destination */ |
57 | __be32 rt_src; /* Path source */ | 52 | __be32 rt_src; /* Path source */ |