Connection slots are a limited resource which can be the target of DoS attacks.
This issue was introduced in 2011 by 5a3e82f.
In mitigating this issue it is important to take steps to avoid network partitioning.
I have taken the approach of protecting connections with various properties from eviction.
Of the nodes still available for eviction the most recently connected node from the CNetAddr with the most connections is selected and evicted.
The largest class of protected connections is those which have been connected for the longest time. The intent is to maintain the strong bias towards these connections which exists today and thus avoid any risk of network partition.