aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 6faec1a60216..01343b043517 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -86,12 +86,12 @@ struct dst_entry {
86 }; 86 };
87}; 87};
88 88
89static inline struct neighbour *dst_get_neighbour(struct dst_entry *dst) 89static inline struct neighbour *dst_get_neighbour_noref(struct dst_entry *dst)
90{ 90{
91 return rcu_dereference(dst->_neighbour); 91 return rcu_dereference(dst->_neighbour);
92} 92}
93 93
94static inline struct neighbour *dst_get_neighbour_raw(struct dst_entry *dst) 94static inline struct neighbour *dst_get_neighbour_noref_raw(struct dst_entry *dst)
95{ 95{
96 return rcu_dereference_raw(dst->_neighbour); 96 return rcu_dereference_raw(dst->_neighbour);
97} 97}
@@ -392,7 +392,7 @@ static inline void dst_confirm(struct dst_entry *dst)
392 struct neighbour *n; 392 struct neighbour *n;
393 393
394 rcu_read_lock(); 394 rcu_read_lock();
395 n = dst_get_neighbour(dst); 395 n = dst_get_neighbour_noref(dst);
396 neigh_confirm(n); 396 neigh_confirm(n);
397 rcu_read_unlock(); 397 rcu_read_unlock();
398 } 398 }