ipv4: Add fib_nh_common to fib_result
[linux-2.6-block.git] / net / ipv4 / fib_lookup.h
index e6ff282bb7f42c2a941ae6c3f2785ca989150ad1..7945f0534db72ecda20ab7f77ae499a0270d3cd1 100644 (file)
@@ -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 {