9pserve: delete from correct hash slot (fix infinite loop)
This commit is contained in:
parent
db1cda12ae
commit
ec9247088b
@ -542,7 +542,7 @@ connthread(void *arg)
|
|||||||
assert(mm == m);
|
assert(mm == m);
|
||||||
msgput(m); /* got from recvp */
|
msgput(m); /* got from recvp */
|
||||||
msgput(m); /* got from msgnew */
|
msgput(m); /* got from msgnew */
|
||||||
if(delhash(c->tag, om->tag, om) == 0)
|
if(delhash(c->tag, om->ctag, om) == 0)
|
||||||
msgput(om); /* got from hash table */
|
msgput(om); /* got from hash table */
|
||||||
msgput(om); /* got from msgincref */
|
msgput(om); /* got from msgincref */
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user