aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r--net/ipv6/xfrm6_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c
index 98c2fe449b3f..9391c4c94feb 100644
--- a/net/ipv6/xfrm6_policy.c
+++ b/net/ipv6/xfrm6_policy.c
@@ -149,6 +149,7 @@ __xfrm6_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int
149 149
150 xdst = (struct xfrm_dst *)dst1; 150 xdst = (struct xfrm_dst *)dst1;
151 xdst->route = &rt->u.dst; 151 xdst->route = &rt->u.dst;
152 xdst->genid = xfrm[i]->genid;
152 if (rt->rt6i_node) 153 if (rt->rt6i_node)
153 xdst->route_cookie = rt->rt6i_node->fn_sernum; 154 xdst->route_cookie = rt->rt6i_node->fn_sernum;
154 155