Date: Tue, 14 Aug 2018 08:33:47 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r337738 - head/sys/netinet6 Message-ID: <201808140833.w7E8Xl0Y038514@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Tue Aug 14 08:33:47 2018 New Revision: 337738 URL: https://svnweb.freebsd.org/changeset/base/337738 Log: Use a macro to set the assoc state. I missed this in r337706. Modified: head/sys/netinet6/sctp6_usrreq.c Modified: head/sys/netinet6/sctp6_usrreq.c ============================================================================== --- head/sys/netinet6/sctp6_usrreq.c Tue Aug 14 08:32:33 2018 (r337737) +++ head/sys/netinet6/sctp6_usrreq.c Tue Aug 14 08:33:47 2018 (r337738) @@ -919,7 +919,7 @@ sctp6_connect(struct socket *so, struct sockaddr *addr /* Set the connected flag so we can queue data */ soisconnecting(so); } - stcb->asoc.state = SCTP_STATE_COOKIE_WAIT; + SCTP_SET_STATE(stcb, SCTP_STATE_COOKIE_WAIT); (void)SCTP_GETTIME_TIMEVAL(&stcb->asoc.time_entered); /* initialize authentication parameters for the assoc */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808140833.w7E8Xl0Y038514>