svn commit: r247972 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu Mar 7 23:41:58 UTC 2013


Author: tuexen
Date: Thu Mar  7 23:41:57 2013
New Revision: 247972
URL: http://svnweb.freebsd.org/changeset/base/247972

Log:
  MFC r238458:
  
  Provide the correct notification type (SCTP_SEND_FAILED_EVENT)
  for unsent messages.

Modified:
  stable/8/sys/netinet/sctputil.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/netinet/   (props changed)

Modified: stable/8/sys/netinet/sctputil.c
==============================================================================
--- stable/8/sys/netinet/sctputil.c	Thu Mar  7 23:39:59 2013	(r247971)
+++ stable/8/sys/netinet/sctputil.c	Thu Mar  7 23:41:57 2013	(r247972)
@@ -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-all mailing list