Remove policies in kernel interfaces based on their priority.
authorTobias Brunner <tobias@strongswan.org>
Wed, 27 Jul 2011 11:41:35 +0000 (13:41 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 27 Jul 2011 11:41:35 +0000 (13:41 +0200)
commitfbedc6a45b9c18f13972c8e1a7ada0ef5fb67210
tree3e085d662684f302bfc531ff03ef2b73f257ba16
parenta2e377fcfdc227e3856b656c8cd5401d67710eff
Remove policies in kernel interfaces based on their priority.

This allows to unroute a connection while the same connection is
currently established.  In this case both CHILD_SAs share the same
reqid but the installed policies have different priorities.
src/libcharon/plugins/load_tester/load_tester_ipsec.c
src/libcharon/sa/child_sa.c
src/libcharon/sa/shunt_manager.c
src/libhydra/kernel/kernel_interface.c
src/libhydra/kernel/kernel_interface.h
src/libhydra/kernel/kernel_ipsec.h
src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
src/pluto/kernel.c