Author: tuexen
Date: Sat Jul 14 21:25:14 2012
New Revision: 238458
URL: http://svn.freebsd.org/changeset/base/238458

Log:
  Provide the correct notification type (SCTP_SEND_FAILED_EVENT)
  for unsent messages.
  
  MFC after: 3 days

Modified:
  head/sys/netinet/sctputil.c

Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Sat Jul 14 20:24:00 2012        (r238457)
+++ head/sys/netinet/sctputil.c Sat Jul 14 21:25:14 2012        (r238458)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to