mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-14 08:51:01 +02:00
If there are some errors during start the netconf session, SshClient is not freed so that sockets or file descriptors that made by SshClient are not freed as well. It leads to starvation of file descriptors for onos so that onos cannot make network connections, spawn the threads so on. This fix does not permit reusing of already closed NetconfSessionMinaImpl. ONOS-7833 Change-Id: I1c8799cbbf8b28d23629123ad5d31ccca4a1fb3d (cherry picked from commit 8f4c1e2ac5ed0033a472a4eb44fdfcba12145134)