diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index b8707779b85d..a280b6ac8eb2 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -1332,7 +1332,6 @@ static int ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr, | |||
1332 | rth->rt_type = RTN_MULTICAST; | 1332 | rth->rt_type = RTN_MULTICAST; |
1333 | rth->rt_route_iif = dev->ifindex; | 1333 | rth->rt_route_iif = dev->ifindex; |
1334 | rth->rt_iif = dev->ifindex; | 1334 | rth->rt_iif = dev->ifindex; |
1335 | rth->rt_oif = 0; | ||
1336 | rth->rt_pmtu = 0; | 1335 | rth->rt_pmtu = 0; |
1337 | rth->rt_gateway = 0; | 1336 | rth->rt_gateway = 0; |
1338 | rth->fi = NULL; | 1337 | rth->fi = NULL; |
@@ -1463,7 +1462,6 @@ static int __mkroute_input(struct sk_buff *skb, | |||
1463 | rth->rt_type = res->type; | 1462 | rth->rt_type = res->type; |
1464 | rth->rt_route_iif = in_dev->dev->ifindex; | 1463 | rth->rt_route_iif = in_dev->dev->ifindex; |
1465 | rth->rt_iif = in_dev->dev->ifindex; | 1464 | rth->rt_iif = in_dev->dev->ifindex; |
1466 | rth->rt_oif = 0; | ||
1467 | rth->rt_pmtu = 0; | 1465 | rth->rt_pmtu = 0; |
1468 | rth->rt_gateway = 0; | 1466 | rth->rt_gateway = 0; |
1469 | rth->fi = NULL; | 1467 | rth->fi = NULL; |
@@ -1642,7 +1640,6 @@ local_input: | |||
1642 | rth->rt_type = res.type; | 1640 | rth->rt_type = res.type; |
1643 | rth->rt_route_iif = dev->ifindex; | 1641 | rth->rt_route_iif = dev->ifindex; |
1644 | rth->rt_iif = dev->ifindex; | 1642 | rth->rt_iif = dev->ifindex; |
1645 | rth->rt_oif = 0; | ||
1646 | rth->rt_pmtu = 0; | 1643 | rth->rt_pmtu = 0; |
1647 | rth->rt_gateway = 0; | 1644 | rth->rt_gateway = 0; |
1648 | rth->fi = NULL; | 1645 | rth->fi = NULL; |
@@ -1808,7 +1805,6 @@ static struct rtable *__mkroute_output(const struct fib_result *res, | |||
1808 | rth->rt_type = type; | 1805 | rth->rt_type = type; |
1809 | rth->rt_route_iif = 0; | 1806 | rth->rt_route_iif = 0; |
1810 | rth->rt_iif = orig_oif ? : dev_out->ifindex; | 1807 | rth->rt_iif = orig_oif ? : dev_out->ifindex; |
1811 | rth->rt_oif = orig_oif; | ||
1812 | rth->rt_pmtu = 0; | 1808 | rth->rt_pmtu = 0; |
1813 | rth->rt_gateway = 0; | 1809 | rth->rt_gateway = 0; |
1814 | rth->fi = NULL; | 1810 | rth->fi = NULL; |
@@ -2085,7 +2081,6 @@ struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_or | |||
2085 | 2081 | ||
2086 | rt->rt_route_iif = ort->rt_route_iif; | 2082 | rt->rt_route_iif = ort->rt_route_iif; |
2087 | rt->rt_iif = ort->rt_iif; | 2083 | rt->rt_iif = ort->rt_iif; |
2088 | rt->rt_oif = ort->rt_oif; | ||
2089 | rt->rt_pmtu = ort->rt_pmtu; | 2084 | rt->rt_pmtu = ort->rt_pmtu; |
2090 | 2085 | ||
2091 | rt->rt_genid = rt_genid(net); | 2086 | rt->rt_genid = rt_genid(net); |