git: bbf3bf32116b - main - sctp: cleanup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Apr 2022 19:03:52 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=bbf3bf32116b0b1ff28a19ec0bc2dbcf23b6a94c
commit bbf3bf32116b0b1ff28a19ec0bc2dbcf23b6a94c
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-04-16 19:03:16 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-04-16 19:03:16 +0000
sctp: cleanup
MFC after: 3 days
---
sys/netinet/sctputil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 6c62a083458f..8c96a832827a 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -4838,7 +4838,7 @@ sctp_wakeup_the_read_socket(struct sctp_inpcb *inp,
{
if ((inp != NULL) &&
(inp->sctp_socket != NULL) &&
- (((stcb->sctp_ep->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) == 0) ||
+ (((inp->sctp_flags & (SCTP_PCB_FLAGS_TCPTYPE | SCTP_PCB_FLAGS_IN_TCPPOOL)) == 0) ||
!SCTP_IS_LISTENING(inp))) {
sctp_sorwakeup(inp, inp->sctp_socket);
}