aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
-rw-r--r--net/ipv4/xfrm4_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c
index a5bed741de2c..e517981ceadd 100644
--- a/net/ipv4/xfrm4_policy.c
+++ b/net/ipv4/xfrm4_policy.c
@@ -135,6 +135,7 @@ __xfrm4_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int
135 dst_prev->flags |= DST_HOST; 135 dst_prev->flags |= DST_HOST;
136 dst_prev->lastuse = jiffies; 136 dst_prev->lastuse = jiffies;
137 dst_prev->header_len = header_len; 137 dst_prev->header_len = header_len;
138 dst_prev->nfheader_len = 0;
138 dst_prev->trailer_len = trailer_len; 139 dst_prev->trailer_len = trailer_len;
139 memcpy(&dst_prev->metrics, &x->route->metrics, sizeof(dst_prev->metrics)); 140 memcpy(&dst_prev->metrics, &x->route->metrics, sizeof(dst_prev->metrics));
140 141