Do not forget to increase the number of completely connected sockets in

soisconnected_locked().

Forgotten by:	tanimura
This commit is contained in:
tanimura 2002-05-07 16:17:44 +00:00
parent fbb461a39b
commit 9070f27e7d
2 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ soisconnected_locked(so)
head->so_incqlen--;
so->so_state &= ~SS_INCOMP;
TAILQ_INSERT_TAIL(&head->so_comp, so, so_list);
head->so_qlen++;
so->so_state |= SS_COMP;
sorwakeup_locked(head);
wakeup_one(&head->so_timeo);

View File

@ -127,6 +127,7 @@ soisconnected_locked(so)
head->so_incqlen--;
so->so_state &= ~SS_INCOMP;
TAILQ_INSERT_TAIL(&head->so_comp, so, so_list);
head->so_qlen++;
so->so_state |= SS_COMP;
sorwakeup_locked(head);
wakeup_one(&head->so_timeo);