Reuse reqid of an existing Quick Mode, even if it has been rekeyed
authorMartin Willi <martin@revosec.ch>
Wed, 3 Apr 2013 13:56:26 +0000 (15:56 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 3 Apr 2013 13:56:26 +0000 (15:56 +0200)
commitac48d9e458699aa68f774aaa3168533cf42f95b0
treee152edd37605c1256baa146189d97f6b9ea18ebb
parent7f4f1e8249969640d4d8389800d7ff798015ecdc
Reuse reqid of an existing Quick Mode, even if it has been rekeyed

If two peers rekey Quick Modes at the same time, the original Quick Mode is
in REKEYING state and hence the requid is not reused. This is required though,
as two identical policies won't work if they have different requids.
src/libcharon/sa/ikev1/tasks/quick_mode.c