aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dst.h')
-rw-r--r--include/net/dst.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 75766b42660e..344c8dd02874 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -87,12 +87,12 @@ struct dst_entry {
87 }; 87 };
88}; 88};
89 89
90static inline struct neighbour *dst_get_neighbour(struct dst_entry *dst) 90static inline struct neighbour *dst_get_neighbour_noref(struct dst_entry *dst)
91{ 91{
92 return rcu_dereference(dst->_neighbour); 92 return rcu_dereference(dst->_neighbour);
93} 93}
94 94
95static inline struct neighbour *dst_get_neighbour_raw(struct dst_entry *dst) 95static inline struct neighbour *dst_get_neighbour_noref_raw(struct dst_entry *dst)
96{ 96{
97 return rcu_dereference_raw(dst->_neighbour); 97 return rcu_dereference_raw(dst->_neighbour);
98} 98}
@@ -393,7 +393,7 @@ static inline void dst_confirm(struct dst_entry *dst)
393 struct neighbour *n; 393 struct neighbour *n;
394 394
395 rcu_read_lock(); 395 rcu_read_lock();
396 n = dst_get_neighbour(dst); 396 n = dst_get_neighbour_noref(dst);
397 neigh_confirm(n); 397 neigh_confirm(n);
398 rcu_read_unlock(); 398 rcu_read_unlock();
399 } 399 }