OSDN Git Service

ipv4: Kill rt->rt_oif
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 21:39:44 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2012 20:38:34 +0000 (13:38 -0700)
commit4fd551d7bed93af60af61c5a324b8f5dff37953a
tree2cc151b3dc88793340c50421799627b06b766a43
parent93ac53410a82a4f1bf2baf9d65d95cc29f2774ca
ipv4: Kill rt->rt_oif

Never actually used.

It was being set on output routes to the original OIF specified in the
flow key used for the lookup.

Adjust the only user, ipmr_rt_fib_lookup(), for greater correctness of
the flowi4_oif and flowi4_iif values, thanks to feedback from Julian
Anastasov.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
net/ipv4/ipmr.c
net/ipv4/route.c
net/ipv4/xfrm4_policy.c