net: ipv4: RTM_GETROUTE: return matched fib result when requested
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 25 May 2017 17:42:39 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 18:12:51 +0000 (14:12 -0400)
commitb61798130f1be5bff08712308126c2d7ebe390ef
tree5cc089995dc223f83da89be0ed59a118042e4131
parent0be1b305d9b808e5b28e74f4ef807851c14c39f2
net: ipv4: 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/ipv4/route.c