Date: Wed, 1 Feb 2023 22:43:29 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2fe0fea76db6 - stable/13 - sctp: cleanup Message-ID: <202302012243.311MhTl5001862@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=2fe0fea76db6ada2197c9fc1eb3a8acf07f7bf9c commit 2fe0fea76db6ada2197c9fc1eb3a8acf07f7bf9c Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2022-04-16 19:03:16 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2023-02-01 22:43:07 +0000 sctp: cleanup (cherry picked from commit bbf3bf32116b0b1ff28a19ec0bc2dbcf23b6a94c) --- 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 d0376f03e8db..45e06ef769e0 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302012243.311MhTl5001862>