aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-03 01:53:37 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-05 05:42:00 -0400
commitd1e31fb02b31ba88d5650d97c35eb58f52bfe0e1 (patch)
treeb0fcb850692fda7ee6a2e92380547d18dc0c8cf8 /net/xfrm/xfrm_policy.c
parentf187bc6efb7250afee0e2009b6106370319b0c8b (diff)
xfrm: No need to copy generic neighbour pointer.
Nobody reads it any longer. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index a28a3f972d5b..6e97855b5842 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1500,9 +1500,6 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
1500 if (!dev) 1500 if (!dev)
1501 goto free_dst; 1501 goto free_dst;
1502 1502
1503 /* Copy neighbour for reachability confirmation */
1504 dst_set_neighbour(dst0, neigh_clone(dst_get_neighbour_noref(dst)));
1505
1506 xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len); 1503 xfrm_init_path((struct xfrm_dst *)dst0, dst, nfheader_len);
1507 xfrm_init_pmtu(dst_prev); 1504 xfrm_init_pmtu(dst_prev);
1508 1505