|
@@ -815,7 +815,7 @@ xfrm_state_find(const xfrm_address_t *daddr, const xfrm_address_t *saddr,
|
|
xfrm_state_look_at(pol, x, fl, encap_family,
|
|
xfrm_state_look_at(pol, x, fl, encap_family,
|
|
&best, &acquire_in_progress, &error);
|
|
&best, &acquire_in_progress, &error);
|
|
}
|
|
}
|
|
- if (best)
|
|
|
|
|
|
+ if (best || acquire_in_progress)
|
|
goto found;
|
|
goto found;
|
|
|
|
|
|
h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family);
|
|
h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family);
|