projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv4: Add fib_nh_common to fib_result
[linux-2.6-block.git]
/
net
/
ipv4
/
fib_lookup.h
diff --git
a/net/ipv4/fib_lookup.h
b/net/ipv4/fib_lookup.h
index e6ff282bb7f42c2a941ae6c3f2785ca989150ad1..7945f0534db72ecda20ab7f77ae499a0270d3cd1 100644
(file)
--- a/
net/ipv4/fib_lookup.h
+++ b/
net/ipv4/fib_lookup.h
@@
-45,6
+45,7
@@
static inline void fib_result_assign(struct fib_result *res,
{
/* we used to play games with refcounts, but we now use RCU */
res->fi = fi;
+ res->nhc = fib_info_nhc(fi, 0);
}
struct fib_prop {