ipv6: Avoid redoing fib6_lookup() for RTF_CACHE hit case
authorMartin KaFai Lau <kafai@fb.com>
Mon, 20 Oct 2014 20:42:44 +0000 (13:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Oct 2014 04:14:39 +0000 (00:14 -0400)
commit94c77bb41d871deb848e5011aacb5d7c24358ddd
tree41f887167755643df1fc78d2e74f308aac020394
parenta3c00e46efdb4009369971c97203ea67f7630fe4
ipv6: Avoid redoing fib6_lookup() for RTF_CACHE hit case

When there is a RTF_CACHE hit, no need to redo fib6_lookup()
with reachable=0.

Cc: David Miller <davem@davemloft.net>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c