Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2012 22:10:03 +0200
From:      Michael Tuexen <tuexen@fh-muenster.de>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r238454 - head/sys/netinet
Message-ID:  <F42A9420-D424-47C0-B69C-E332EF657AD7@fh-muenster.de>
In-Reply-To: <201207141944.q6EJidFx003841@svn.freebsd.org>
References:  <201207141944.q6EJidFx003841@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 14, 2012, at 9:44 PM, Michael Tuexen wrote:

> Author: tuexen
> Date: Sat Jul 14 19:44:39 2012
> New Revision: 238454
> URL: http://svn.freebsd.org/changeset/base/238454
>=20
> Log:
>  Use case for selecting the address family (as in other places).
Wrong commit message. It should have been:
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).
>=20
>  MFC after: 3 days
>=20
> Modified:
>  head/sys/netinet/sctp_input.c
>=20
> Modified: head/sys/netinet/sctp_input.c
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- 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,=20
> 			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);
> }
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F42A9420-D424-47C0-B69C-E332EF657AD7>