aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/addrconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r--include/net/addrconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index e70278eef12a..66c4a44d8f5c 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -248,6 +248,13 @@ static inline struct inet6_dev *in6_dev_get(const struct net_device *dev)
248 return idev; 248 return idev;
249} 249}
250 250
251static inline struct neigh_parms *__in6_dev_nd_parms_get_rcu(const struct net_device *dev)
252{
253 struct inet6_dev *idev = __in6_dev_get(dev);
254
255 return idev ? idev->nd_parms : NULL;
256}
257
251void in6_dev_finish_destroy(struct inet6_dev *idev); 258void in6_dev_finish_destroy(struct inet6_dev *idev);
252 259
253static inline void in6_dev_put(struct inet6_dev *idev) 260static inline void in6_dev_put(struct inet6_dev *idev)