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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c
index ef746d4f313..1faa2ea80af 100644
--- a/net/ipv6/xfrm6_policy.c
+++ b/net/ipv6/xfrm6_policy.c
@@ -240,7 +240,8 @@ __xfrm6_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int
240 if (!afinfo) { 240 if (!afinfo) {
241 dst = *dst_p; 241 dst = *dst_p;
242 goto error; 242 goto error;
243 }; 243 }
244
244 dst_prev->output = afinfo->output; 245 dst_prev->output = afinfo->output;
245 xfrm_state_put_afinfo(afinfo); 246 xfrm_state_put_afinfo(afinfo);
246 /* Sheit... I remember I did this right. Apparently, 247 /* Sheit... I remember I did this right. Apparently,
@@ -337,7 +338,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl)
337 fl->fl_ipsec_spi = 0; 338 fl->fl_ipsec_spi = 0;
338 fl->proto = nexthdr; 339 fl->proto = nexthdr;
339 return; 340 return;
340 }; 341 }
341 } 342 }
342} 343}
343 344