kernel-netlink: Use total retransmit timeout as acquire timeout
authorTobias Brunner <tobias@strongswan.org>
Mon, 13 Mar 2017 11:15:25 +0000 (12:15 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2017 16:05:58 +0000 (18:05 +0200)
commit70855696adb5bf363c0b91af0af9fe09db4a9e6c
tree8777d914191845d0a380fb276a8cabc4eada0051
parentbfbd3af8506052fa3a331bd151453795913d3645
kernel-netlink: Use total retransmit timeout as acquire timeout

By using the total retransmit timeout, modifications of timeout settings
automatically reflect on the value of xfrm_acq_expires.  If set, the
value of xfrm_acq_expires configured by the user takes precedence over
the calculated value.
conf/plugins/kernel-netlink.opt
src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libcharon/plugins/kernel_netlink/kernel_netlink_plugin.c