summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_input.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2012-07-14 19:44:39 +0000
committertuexen <tuexen@FreeBSD.org>2012-07-14 19:44:39 +0000
commit01b851db7f7bf1ce1d7a0b90e3c6dcd2be9b443b (patch)
tree11a7ddc3ee77e57b3deae45dc6d108727bfc8627 /sys/netinet/sctp_input.c
parentc0341f5875e72c5c4e397719d5bf897e82c9088f (diff)
downloadFreeBSD-src-01b851db7f7bf1ce1d7a0b90e3c6dcd2be9b443b.zip
FreeBSD-src-01b851db7f7bf1ce1d7a0b90e3c6dcd2be9b443b.tar.gz
Use case for selecting the address family (as in other places).
MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_input.c')
-rw-r--r--sys/netinet/sctp_input.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c
index 6d2ec6d..3263efb 100644
--- a/sys/netinet/sctp_input.c
+++ b/sys/netinet/sctp_input.c
@@ -2874,14 +2874,12 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
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);
}
OpenPOWER on IntegriCloud