projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f187bc6
)
xfrm: No need to copy generic neighbour pointer.
author
David S. Miller
<davem@davemloft.net>
Tue, 3 Jul 2012 05:53:37 +0000
(22:53 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Jul 2012 09:42:00 +0000
(
02:42
-0700)
Nobody reads it any longer.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
patch
|
blob
|
blame
|
history
diff --git
a/net/xfrm/xfrm_policy.c
b/net/xfrm/xfrm_policy.c
index a28a3f972d5b9450aa61cf3381c8ba394ec9bbd9..6e97855b5842ded6555b98238a1ec10383a3acca 100644
(file)
--- 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,
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);