svn commit: r238548 - stable/9/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Tue Jul 17 11:18:40 UTC 2012
Author: tuexen
Date: Tue Jul 17 11:18:39 2012
New Revision: 238548
URL: http://svn.freebsd.org/changeset/base/238548
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).
Approved by: re@
Modified:
stable/9/sys/netinet/sctp_input.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netinet/sctp_input.c
==============================================================================
--- stable/9/sys/netinet/sctp_input.c Tue Jul 17 09:34:52 2012 (r238547)
+++ stable/9/sys/netinet/sctp_input.c Tue Jul 17 11:18:39 2012 (r238548)
@@ -2912,14 +2912,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