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
@@ -1499,7 +1499,7 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
|
||||
goto free_dst;
|
||||
|
||||
/* Copy neighbour for reachability confirmation */
|
||||
dst_set_neighbour(dst0, neigh_clone(dst_get_neighbour(dst)));
|
||||
dst_set_neighbour(dst0, neigh_clone(dst_get_neighbour_noref(dst)));
|
||||
|
||||
xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len);
|
||||
xfrm_init_pmtu(dst_prev);
|
||||
|
Reference in New Issue
Block a user