summaryrefslogtreecommitdiff
path: root/include/net/route.h
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2012-07-01 06:02:56 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-21 00:30:59 +0400
commit1a00fee4ffb22312a0ac40045ecd6f222b55eb3d (patch)
treef1154e606c695a85ee810bb9332ebcd5049f359f /include/net/route.h
parent38a424e4657462fe9f8b76f01a0e879abde99ab4 (diff)
downloadlinux-1a00fee4ffb22312a0ac40045ecd6f222b55eb3d.tar.xz
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.h5
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;
struct rtable {
struct dst_entry dst;
- /* Lookup key. */
- __be32 rt_key_dst;
- __be32 rt_key_src;
-
int rt_genid;
unsigned int rt_flags;
__u16 rt_type;
- __u8 rt_key_tos;
__be32 rt_dst; /* Path destination */
__be32 rt_src; /* Path source */