1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix so we call socantrcvmore_locked so we

don't see a race where we unlock to call
the non-locked version and have the socket
go away.

MFC after:	1 week
This commit is contained in:
Randall Stewart 2010-06-07 04:01:38 +00:00
parent f3d893fcde
commit 9ed1e280f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208883

View File

@ -4675,8 +4675,8 @@ sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfre
SS_ISCONFIRMING |
SS_ISCONNECTED);
}
socantrcvmore_locked(so);
SOCK_UNLOCK(so);
socantrcvmore(so);
sctp_sowwakeup(inp, so);
sctp_sorwakeup(inp, so);
SCTP_SOWAKEUP(so);