ipv6: fill rt6i_gateway with nexthop address
authorJulian Anastasov <ja@ssi.bg>
Sun, 20 Oct 2013 12:43:04 +0000 (15:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 22:37:01 +0000 (18:37 -0400)
Make sure rt6i_gateway contains nexthop information in
all routes returned from lookup or when routes are directly
attached to skb for generated ICMP packets.

The effect of this patch should be a faster version of
rt6_nexthop() and the consideration of local addresses as
nexthop.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found