diff options
author | David Miller <davem@davemloft.net> | 2012-07-01 06:02:56 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-21 00:30:59 +0400 |
commit | 1a00fee4ffb22312a0ac40045ecd6f222b55eb3d (patch) | |
tree | f1154e606c695a85ee810bb9332ebcd5049f359f /net/ipv4/xfrm4_policy.c | |
parent | 38a424e4657462fe9f8b76f01a0e879abde99ab4 (diff) | |
download | linux-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 'net/ipv4/xfrm4_policy.c')
-rw-r--r-- | net/ipv4/xfrm4_policy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c index fcf7678bc009..2a8d5cfc340f 100644 --- a/net/ipv4/xfrm4_policy.c +++ b/net/ipv4/xfrm4_policy.c @@ -79,9 +79,6 @@ static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, struct rtable *rt = (struct rtable *)xdst->route; const struct flowi4 *fl4 = &fl->u.ip4; - xdst->u.rt.rt_key_dst = fl4->daddr; - xdst->u.rt.rt_key_src = fl4->saddr; - xdst->u.rt.rt_key_tos = fl4->flowi4_tos; xdst->u.rt.rt_route_iif = fl4->flowi4_iif; xdst->u.rt.rt_iif = fl4->flowi4_iif; xdst->u.rt.rt_oif = fl4->flowi4_oif; |