aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/ip6_fib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index cb8da1dac512..0ae759a6c76e 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -129,7 +129,7 @@ static inline void rt6_clean_expires(struct rt6_info *rt)
129 dst_release(rt->dst.from); 129 dst_release(rt->dst.from);
130 130
131 rt->rt6i_flags &= ~RTF_EXPIRES; 131 rt->rt6i_flags &= ~RTF_EXPIRES;
132 rt->dst.expires = 0; 132 rt->dst.from = NULL;
133} 133}
134 134
135static inline void rt6_set_expires(struct rt6_info *rt, unsigned long expires) 135static inline void rt6_set_expires(struct rt6_info *rt, unsigned long expires)