diff options
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
| -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 4fce1cec193..82e803b5695 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,  		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);  |