summaryrefslogtreecommitdiff
path: root/sys/src/9/ip/devip.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-07-08 14:39:13 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-07-08 14:39:13 +0000
commitbf8fcab00d89b85bb18a2a8d69b71935f6e72edc (patch)
tree8ccf89226743f59cc1aab15cf655c37b333c40a2 /sys/src/9/ip/devip.c
parentf2a9244e2d5cf7011c07e5a3ea34c1fa032cae5c (diff)
devip: dont panic when ports get exhausted
Diffstat (limited to 'sys/src/9/ip/devip.c')
-rw-r--r--sys/src/9/ip/devip.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/src/9/ip/devip.c b/sys/src/9/ip/devip.c
index 99502df36..828345796 100644
--- a/sys/src/9/ip/devip.c
+++ b/sys/src/9/ip/devip.c
@@ -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;
}