diff options
author | David Miller <davem@davemloft.net> | 2011-12-02 11:52:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-05 15:20:19 -0500 |
commit | 2721745501a26d0dc3b88c0d2f3aa11471891388 (patch) | |
tree | e9c09622b11ad7d9317b4b01824374a852867c28 /net/xfrm | |
parent | 761965eab38d2cbc59c36e355c59609e3a04705a (diff) |
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>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 4fce1cec193e..82e803b56952 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -1499,7 +1499,7 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy, | |||
1499 | goto free_dst; | 1499 | goto free_dst; |
1500 | 1500 | ||
1501 | /* Copy neighbour for reachability confirmation */ | 1501 | /* Copy neighbour for reachability confirmation */ |
1502 | dst_set_neighbour(dst0, neigh_clone(dst_get_neighbour(dst))); | 1502 | dst_set_neighbour(dst0, neigh_clone(dst_get_neighbour_noref(dst))); |
1503 | 1503 | ||
1504 | xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len); | 1504 | xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len); |
1505 | xfrm_init_pmtu(dst_prev); | 1505 | xfrm_init_pmtu(dst_prev); |