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
@ -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