summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2012-07-01 02:02:56 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-20 13:30:59 -0700
commit1a00fee4ffb22312a0ac40045ecd6f222b55eb3d (patch)
treef1154e606c695a85ee810bb9332ebcd5049f359f /net/ipv4/xfrm4_policy.c
parent38a424e4657462fe9f8b76f01a0e879abde99ab4 (diff)
downloadblackbird-op-linux-1a00fee4ffb22312a0ac40045ecd6f222b55eb3d.tar.gz
blackbird-op-linux-1a00fee4ffb22312a0ac40045ecd6f222b55eb3d.zip
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.c3
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;
OpenPOWER on IntegriCloud