devip: dont panic when ports get exhausted

This commit is contained in:
cinap_lenrek 2011-07-08 14:39:13 +00:00
parent f2a9244e2d
commit bf8fcab00d

View file

@ -818,12 +818,6 @@ setlport(Conv* c)
}
}
qunlock(p);
/*
* debugging: let's see if we ever get this.
* if we do (and we're a cpu server), we might as well restart
* since we're now unable to service new connections.
*/
panic("setlport: out of ports");
return "no ports available";
chosen:
@ -1323,9 +1317,6 @@ retry:
print("Fsprotoclone: garbage collecting Convs\n");
if(p->gc != nil && (*p->gc)(p))
goto retry;
/* debugging: do we ever get here? */
if (cpuserver)
panic("Fsprotoclone: all conversations in use");
return nil;
}