ike: reuse the reqid of an installed trap having the same config
authorMartin Willi <martin@revosec.ch>
Tue, 11 Jun 2013 14:11:14 +0000 (16:11 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 19 Jun 2013 14:30:40 +0000 (16:30 +0200)
commita7bc0bf4a6c091637e81eec0c268e5947f5c1e21
tree809157a900b51683a63a3f33fc8d7a0ad7a0eec5
parent2dcfc6983bc2f73bbc355f9204dda6a2901a3a38
ike: reuse the reqid of an installed trap having the same config

When we have a trap installed, but a CHILD_SA gets established for the same
config from the peer, we should reuse the same reqid. Otherwise we would have
two identical policies using different reqids, what we can't handle in our
kernel backend.
src/libcharon/sa/child_sa.c