I have been running UML with uml_switch (from uml_utilities_20021103)
and I had a problem with it segfaulting when I brought UMLs down and
then restarted them.
It turns out that when a port disconnects, the port is freed but the
entry is left in the hash table. If a new connection happens for the
same device, it finds the garbage left in the hash table.
The following patch solves the problem, albeit not in the most elegant