svn commit: r247970 - stable/8/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Mar 7 23:37:54 UTC 2013
Author: tuexen
Date: Thu Mar 7 23:37:53 2013
New Revision: 247970
URL: http://svnweb.freebsd.org/changeset/base/247970
Log:
MFC r238454:
Bugfix: Send up a COMM UP notification for active 1-to-1 style sockets
also in the case where the assoc comes up due to a remotely
started handshake (collision case).
Modified:
stable/8/sys/netinet/sctp_input.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/netinet/ (props changed)
Modified: stable/8/sys/netinet/sctp_input.c
==============================================================================
--- stable/8/sys/netinet/sctp_input.c Thu Mar 7 23:37:10 2013 (r247969)
+++ stable/8/sys/netinet/sctp_input.c Thu Mar 7 23:37:53 2013 (r247970)
@@ -2874,14 +2874,12 @@ sctp_handle_cookie_echo(struct mbuf *m,
return (m);
}
}
- if ((*inp_p)->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) {
- if (notification) {
- sctp_ulp_notify(notification, *stcb, 0, NULL, SCTP_SO_NOT_LOCKED);
- }
- if (send_int_conf) {
- sctp_ulp_notify(SCTP_NOTIFY_INTERFACE_CONFIRMED,
- (*stcb), 0, (void *)netl, SCTP_SO_NOT_LOCKED);
- }
+ if (notification) {
+ sctp_ulp_notify(notification, *stcb, 0, NULL, SCTP_SO_NOT_LOCKED);
+ }
+ if (send_int_conf) {
+ sctp_ulp_notify(SCTP_NOTIFY_INTERFACE_CONFIRMED,
+ (*stcb), 0, (void *)netl, SCTP_SO_NOT_LOCKED);
}
return (m);
}
More information about the svn-src-stable
mailing list