aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-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 011136a95809..699f27ce62ad 100644
--- a/net/ipv4/xfrm4_policy.c
+++ b/net/ipv4/xfrm4_policy.c
@@ -175,6 +175,7 @@ __xfrm4_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int
175 afinfo = xfrm_state_get_afinfo(dst_prev->xfrm->props.family); 175 afinfo = xfrm_state_get_afinfo(dst_prev->xfrm->props.family);
176 if (!afinfo) { 176 if (!afinfo) {
177 dst = *dst_p; 177 dst = *dst_p;
178 err = -EAFNOSUPPORT;
178 goto error; 179 goto error;
179 } 180 }
180 dst_prev->output = afinfo->output; 181 dst_prev->output = afinfo->output;