New commits:
commit 3031a9fefe8f14e16a422ef5e938e34677edcf8a
Author: D. Hugh Redelmeier <[email protected]>
Date: Fri Sep 4 13:26:40 2015 -0400
pluto: more disciplined handling of assignment to st_connection
When there is no longer a reference from any state object's
st_connection field, the connection should be deleted. One case where
a reference is deleted is when an st_connection is overwritten.
This change more systematically handles overwriting. Each assignment
to st_connection that might remove a reference becomes a call to
update_state_connection. Ones that cannot remove a reference get
comments expaining why they cannot.
The main result should be fewer "leaks" of connections: unreferenced
connections never being freed. I don't expect that this would be
observable on the wire.
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit