Author: tuexen
Date: Tue Nov  9 12:00:39 2010
New Revision: 215035
URL: http://svn.freebsd.org/changeset/base/215035

Log:
  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.

Modified:
  head/sys/netinet/sctputil.c

Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Tue Nov  9 10:59:09 2010        (r215034)
+++ head/sys/netinet/sctputil.c Tue Nov  9 12:00:39 2010        (r215035)
@@ -2826,6 +2826,7 @@ sctp_notify_assoc_change(uint32_t event,
                        }
                }
 #endif
+               socantrcvmore(stcb->sctp_socket);
                sorwakeup(stcb->sctp_socket);
                sowwakeup(stcb->sctp_socket);
 #if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to