mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
[Mirror] Some kind of OS: git://git.9front.org/plan9front/plan9front
0298949dd2
In limbo() function, once tpriv->nlimbo reaches Maxlimbo, we'd try to re-use Limbo entries from the head of the hash chain. However, theres a special case where our current chain contains only a single entry. Then Limbo **l; points to its next pointer, and writing: *l = lp; would just yield in the entry being linked to itself, leaking it. The for(;;) loop in limborexmit() was wrong, as the "continue" case would not advance the lp pointer at all, (such as when tpriv->nlimbo reaches > 100), we'd stop cleaning out entries. Handle Fsnewcall() returning nil case, have to free Limbo *lp as we just removed it from the hash table. Add tpriv->nlimbo as "InLimbo" at the end of /net/tcp/stats. |
||
---|---|---|
386 | ||
68000 | ||
68020 | ||
acme | ||
adm/timezone | ||
amd64 | ||
arm | ||
arm64 | ||
lib | ||
mips | ||
power | ||
power64 | ||
rc | ||
sparc | ||
sparc64 | ||
spim | ||
sys |