net: ipv6: RTM_GETROUTE: return matched fib result when requested
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 25 May 2017 17:42:40 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 18:12:51 +0000 (14:12 -0400)
commit18c3a61c4264cd2f7d6f1bde4b1bf036d5b0a2bc
tree314fbe2e34e7092962a44a6af94b70b1afa0b3bc
parentb61798130f1be5bff08712308126c2d7ebe390ef
net: ipv6: RTM_GETROUTE: return matched fib result when requested

This patch adds support to return matched fib result when RTM_F_FIB_MATCH
flag is specified in RTM_GETROUTE request. This is useful for user-space
applications/controllers wanting to query a matching route.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c