[vpn-devel] Linux: unable to locate inbound policy for init phase2
Matthew Grooms
mgrooms at shrew.net
Sun Sep 26 17:17:30 CDT 2010
On 9/9/2010 5:27 PM, Michael Kenny wrote:
> Mathew -
>
> I pulled down the latest 2.1.7 branch and I think they're different
> problems.
> However, I had a chance to dig into it a little more and came up with
> something that appears to have solved my problem.
>
> In iked/ike.policy.cpp around line 641, I made the following change:
>
> if( ( type == IPSEC_POLICY_IPSEC ) && ( tunnel->tstate &
> TSTATE_POLICY_INIT ) )
> {
> tunnel->tstate &= ~TSTATE_POLICY_INIT;
> policy->initial = true;
> }
>
I totally forgot to mention regarding your patch, it will be applied to
all branches in the repo. It won't completely fix the timing issue but
it's certainly correct and will help the situation :)
Thanks again,
-Matthew
More information about the vpn-devel
mailing list