svn commit: r238454 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sat Jul 14 19:44:40 UTC 2012
Author: tuexen
Date: Sat Jul 14 19:44:39 2012
New Revision: 238454
URL: http://svn.freebsd.org/changeset/base/238454
Log:
Use case for selecting the address family (as in other places).
MFC after: 3 days
Modified:
head/sys/netinet/sctp_input.c
Modified: head/sys/netinet/sctp_input.c
==============================================================================
--- head/sys/netinet/sctp_input.c Sat Jul 14 19:39:53 2012 (r238453)
+++ head/sys/netinet/sctp_input.c Sat Jul 14 19:44:39 2012 (r238454)
@@ -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-head
mailing list