git: 9bf03ef873e2 - stable/13 - sctp: fix typo introcuded in last commit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Feb 2023 22:42:56 UTC
The branch stable/13 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=9bf03ef873e2f3c10dd2f4a0085e56824de20d4d
commit 9bf03ef873e2f3c10dd2f4a0085e56824de20d4d
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-04-16 17:55:33 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-02-01 22:42:31 +0000
sctp: fix typo introcuded in last commit
(cherry picked from commit 5fbf11f70390a043cba06ba893c897f32d005f5d)
---
sys/netinet/sctp_usrreq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c
index 5dad0460fea9..89ff532bcbec 100644
--- a/sys/netinet/sctp_usrreq.c
+++ b/sys/netinet/sctp_usrreq.c
@@ -5134,7 +5134,7 @@ sctp_setopt(struct socket *so, int optname, void *optval, size_t optsize,
* style sockets.
*/
if (events->sctp_sender_dry_event) {
- if (((stcb->sctp_ep->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) != 0) &&
+ if (((inp->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) != 0) &&
!SCTP_IS_LISTENING(inp)) {
stcb = LIST_FIRST(&inp->sctp_asoc_list);
if (stcb != NULL) {