]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/xfrm/xfrm_policy.c
net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}.
[mirror_ubuntu-zesty-kernel.git] / net / xfrm / xfrm_policy.c
index 4fce1cec193e6aef1d07457c25727612bfea6c4d..82e803b56952a20c4a831eadb9b7025d222312b7 100644 (file)
@@ -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);