We're close to zero leaks.  The next ones are:
  orphan shunt
  bare shunt
I'm still trying to understand their lifetime.  For instance, what
triggers them being created, replaced, or deleted.

Here's my starting point:
- something (connection?) causes an acquire to be inserted in the
kernel (so traffic will trigger an event)
- the acquire event triggers, it's matched with a connection(?), and a
(bare) shunt is inserted to stop further traffic
- the sa attempts to establish
- if it fails an orphan shunt is inserted?
- eventually, a timer expires the shunt?

this makes me suspect that deleting a connection should delete any
associated shunts?
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to