]> asedeno.scripts.mit.edu Git - linux.git/commit
ipv6: Pass fib6_result to rt6_find_cached_rt
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Apr 2019 21:36:00 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:08:51 +0000 (23:08 -0700)
commit7e4b5128757397132ffff1d7b1be9f992e9cd9f2
tree88fb11cf8d0acebf5ff340012f0192cd73a1cb71
parentb1d40991506aa9f1de310a2e74ef8e3bec6ba215
ipv6: Pass fib6_result to rt6_find_cached_rt

Simplify rt6_find_cached_rt for the fast path cases and pass fib6_result
to rt6_find_cached_rt. Rename the local return variable to ret to maintain
consisting with fib6_result name.

Update the comment in rt6_find_cached_rt to reference the new names in
a fib6_info vs the old name when fib entries were an rt6_info.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c