net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}.
To reflect the fact that a refrence is not obtained to the resulting neighbour entry. Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
committed by
David S. Miller
parent
761965eab3
commit
2721745501
@@ -1533,7 +1533,7 @@ static int fib6_age(struct rt6_info *rt, void *arg)
|
||||
RT6_TRACE("aging clone %p\n", rt);
|
||||
return -1;
|
||||
} else if ((rt->rt6i_flags & RTF_GATEWAY) &&
|
||||
(!(dst_get_neighbour_raw(&rt->dst)->flags & NTF_ROUTER))) {
|
||||
(!(dst_get_neighbour_noref_raw(&rt->dst)->flags & NTF_ROUTER))) {
|
||||
RT6_TRACE("purging route %p via non-router but gateway\n",
|
||||
rt);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user