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 */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"