]> git.ipfire.org Git - thirdparty/strongswan.git/commit
trap-manager: Uninstall trap policies by name and not reqid
authorTobias Brunner <tobias@strongswan.org>
Fri, 3 Nov 2017 10:10:16 +0000 (11:10 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 22 Feb 2018 10:31:05 +0000 (11:31 +0100)
commitca213e1907a4c19120c83f0d50c7f7e22c90a269
tree3e282ff55ede6854b9a8ef19e2fed0f2a6fd1afb
parent6f569263a0129d4bf5238d38a8779a1ffd46cd3d
trap-manager: Uninstall trap policies by name and not reqid

If a trap policy is concurrently uninstalled and reinstalled under a
different name the reqid will be the same so the wrong trap might be
removed.
src/libcharon/plugins/ha/ha_tunnel.c
src/libcharon/plugins/stroke/stroke_control.c
src/libcharon/plugins/vici/vici_config.c
src/libcharon/plugins/vici/vici_control.c
src/libcharon/sa/trap_manager.c
src/libcharon/sa/trap_manager.h