Date: Wed, 14 May 2014 18:12:42 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r266062 - stable/9/sys/netinet Message-ID: <201405141812.s4EICg3p070132@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405141812.s4EICg3p070132>