kernel-libipsec: Don't ignore policies of type != POLICY_IPSEC
authorTobias Brunner <tobias@strongswan.org>
Thu, 10 Oct 2013 13:41:29 +0000 (15:41 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 11 Oct 2013 13:32:44 +0000 (15:32 +0200)
commitcd25d291f7fce92d1fe21f86c798bcb77f84b2f6
tree432f90f9526f30af0df15963490ccebc2836f283
parenteeb34af06936a7de2c66fd2149d9fb55a7ddb6b1
kernel-libipsec: Don't ignore policies of type != POLICY_IPSEC

This actually broke rekeying due to the DROP policies that are
temporarily added, which broke the refcount as the ignored policies
were not ignored in del_policy() (the type is not known there).
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c