Do not forget to increase the number of completely connected sockets in
soisconnected_locked(). Forgotten by: tanimura
This commit is contained in:
parent
fbb461a39b
commit
9070f27e7d
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user