Commit d1e31fb0 authored by David S. Miller's avatar David S. Miller

xfrm: No need to copy generic neighbour pointer.

Nobody reads it any longer.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f187bc6e
......@@ -1500,9 +1500,6 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
if (!dev)
goto free_dst;
/* Copy neighbour for reachability confirmation */
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment