Fix a bug which resulted in kevent() reporting an event twice on

1-to-1 style sockets when an ABORT was received.

MFC after: 3 days.
This commit is contained in:
Michael Tuexen 2010-11-09 12:00:39 +00:00
parent b1ce21c6ef
commit 8b4da1c3d9

View File

@ -2826,6 +2826,7 @@ sctp_notify_assoc_change(uint32_t event, struct sctp_tcb *stcb,
}
}
#endif
socantrcvmore(stcb->sctp_socket);
sorwakeup(stcb->sctp_socket);
sowwakeup(stcb->sctp_socket);
#if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING)