Author: tuexen
Date: Wed May 14 18:12:42 2014
New Revision: 266062
URL: http://svnweb.freebsd.org/changeset/base/266062
Log:
MFC r258224:
When determining if an address belongs to an stcb, take the address
family into account for wildcard bound endpoints.
Modified:
stable/9/sys/netinet/sctp_pcb.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/9/sys/netinet/sctp_pcb.c Wed May 14 18:01:44 2014
(r266061)
+++ stable/9/sys/netinet/sctp_pcb.c Wed May 14 18:12:42 2014
(r266062)
@@ -875,6 +875,9 @@ sctp_does_stcb_own_this_addr(struct sctp
*/
continue;
}
+ if (sctp_ifa->address.sa.sa_family !=
to->sa_family) {
+ continue;
+ }
switch (sctp_ifa->address.sa.sa_family) {
#ifdef INET
case AF_INET:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"