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:
parent
f3d893fcde
commit
9ed1e280f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208883
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user