From nobody Wed Feb 1 22:43:29 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6cQT27Bxz3cF54; Wed, 1 Feb 2023 22:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6cQT1dcLz4MWq; Wed, 1 Feb 2023 22:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675291409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nRqJklJFGtG/drSCMEEgNtArQWBT9CavqcOzQDA2i0Q=; b=N/oqvkHCaF1DFpMsAEU7LPhBuN/rQDY0MlTfsNsiRoiSeZMVReyBOkMI5hmKbkKbch2g8f gq21mwMcZRXax56n3Anv7wKMVMPHcU5WKPg5wPzEDbyfskU45sj9vLz90F84Rzz0DFSGoN clK4C/bz91UM47SJSrxhpzUSBV6BrleOCleebwakTpWlRshpm8avHT24m1Cnuvg+RJxD1W 81Nb3AP9OJSjsgkFRgfbm4z8h7HS8PttoL3IDzqpgzWq1KhYYgnUOAlOAkNf+FCeXZeZqS DNT0kCchvb5h0PGvxwm+NIVRvjXzwniPFntO4tu43EFAxHrduAkjCJtKjVTP6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675291409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nRqJklJFGtG/drSCMEEgNtArQWBT9CavqcOzQDA2i0Q=; b=jusGCtPhOan2r/or0FjD7WIWLlTfEWsrOWSODSFOLI4X8aPpG9jDl7YO82ye85ztLwWnLu H2od6TtHQTcVdx+EXzutawu9KWCSUKT/+4Y7SV7MawgpPnI3Ra1viHuBfPIEt3OOkGIWFK /QxpCKh+/YxEy+mrcIeJYgNwtSC6uLCOoylAExBK9T7mo+6uIpj7buzKqOO5liNDahGo96 qgvESHqjY8KJj2NQoboABZMGsybVfEjLV2eqWygw28i8d09Z94MYy1HeqRIYUG4W+UNFuh jEX6gV2vnxIlYzP5qfV6kpv1cRa0oOY01Wp76vlEcU8t3fjmLrqMsG6jGOvGWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675291409; a=rsa-sha256; cv=none; b=d8Qf7tM95YVZ+M523MlOhqfmA31F+KpxB5ugmEo1DnxqaRzc5Mpc2gFr+URoehBAp9xaRn dYGGm9QDK5gd9DiNMTSQ2Fh/mc1wD25mUXg+9TmApwcVN5yT+TkpUakf29hyxBx55Jv6w8 2sNYEsYw4MCE5JKLZAxCamgORiA1JLPB14GHhM1rnML7WvtBwIokCe7FDnkclphYE4ZrQs 2nyFyk8hbyZmYcmN+/tLjVNvXramM7jpA8XOcG0wEYGgtIyRBxqLzbTZOD1F/uf+ecVxr7 g4GpcnwysNqXDxeCEsgFNXa4IMHtXzfAEV7kVnw8trvLP0zcFPcwqp8JFY1JsQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6cQT0jqyzWfs; Wed, 1 Feb 2023 22:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 311MhTkA001863; Wed, 1 Feb 2023 22:43:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311MhTl5001862; Wed, 1 Feb 2023 22:43:29 GMT (envelope-from git) Date: Wed, 1 Feb 2023 22:43:29 GMT Message-Id: <202302012243.311MhTl5001862@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: 2fe0fea76db6 - stable/13 - sctp: cleanup List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2fe0fea76db6ada2197c9fc1eb3a8acf07f7bf9c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=2fe0fea76db6ada2197c9fc1eb3a8acf07f7bf9c commit 2fe0fea76db6ada2197c9fc1eb3a8acf07f7bf9c Author: Michael Tuexen AuthorDate: 2022-04-16 19:03:16 +0000 Commit: Michael Tuexen 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); }