diff options
| author | 2017-05-25 10:42:37 -0700 | |
|---|---|---|
| committer | 2017-05-26 14:12:50 -0400 | |
| commit | 6ffd903415320d68a528865296e4740da350785e (patch) | |
| tree | 314ab6766dd04828b5b0224d973ddf2d57afc7b3 /include | |
| parent | net: ipv4: Convert inet_rtm_getroute to rcu versions of route lookup (diff) | |
net: ipv4: Save trie prefix to fib lookup result
Prefix is needed for returning matching route spec on get route request.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/ip_fib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 42e8b8f55f7c..25f5c516afd1 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -136,6 +136,7 @@ struct fib_rule; struct fib_table; struct fib_result { + __be32 prefix; unsigned char prefixlen; unsigned char nh_sel; unsigned char type; |
