svn commit: r238549 - stable/9/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Tue Jul 17 11:33:25 UTC 2012
Author: tuexen
Date: Tue Jul 17 11:33:24 2012
New Revision: 238549
URL: http://svn.freebsd.org/changeset/base/238549
Log:
MFC r238458:
Provide the correct notification type (SCTP_SEND_FAILED_EVENT)
for unsent messages.
Approved by: re@
Modified:
stable/9/sys/netinet/sctputil.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netinet/sctputil.c
==============================================================================
--- stable/9/sys/netinet/sctputil.c Tue Jul 17 11:18:39 2012 (r238548)
+++ stable/9/sys/netinet/sctputil.c Tue Jul 17 11:33:24 2012 (r238549)
@@ -2951,7 +2951,7 @@ sctp_notify_send_failed2(struct sctp_tcb
SCTP_BUF_LEN(m_notify) = 0;
if (sctp_stcb_is_feature_on(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_RECVNSENDFAILEVNT)) {
ssfe = mtod(m_notify, struct sctp_send_failed_event *);
- ssfe->ssfe_type = SCTP_SEND_FAILED;
+ ssfe->ssfe_type = SCTP_SEND_FAILED_EVENT;
ssfe->ssfe_flags = SCTP_DATA_UNSENT;
ssfe->ssfe_length = length;
ssfe->ssfe_error = error;
More information about the svn-src-stable-9
mailing list