From nobody Tue Jan 25 11:09:13 2022 X-Original-To: bugs@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 3E0A3196B711 for ; Tue, 25 Jan 2022 11:09:14 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Jjkd55tVPz4Xcl for ; Tue, 25 Jan 2022 11:09:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 A30F881A for ; Tue, 25 Jan 2022 11:09:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20PB9DuQ069448 for ; Tue, 25 Jan 2022 11:09:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20PB9D5i069447 for bugs@FreeBSD.org; Tue, 25 Jan 2022 11:09:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260116] [sctp] POLLOUT/EVFILT_WRITE is always true for poll/kqueue Date: Tue, 25 Jan 2022 11:09:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bjorn.a.svensson@est.tech X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643108953; 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: in-reply-to:in-reply-to:references:references; bh=czNwiDIDyGzcaPcSmY/v6WA43C40336KnB2ElRenGsI=; b=e7C7LXD7UUUDuELXRzRNfd7GCMLNyGCUnH3ynw6y4Hxkw36Lb2bMy03KQwCX5edSAnf3v/ K1gYmv3HfH4jiKf7NwQAnMDXt3IKqwZO0V06xnKAOMiP6QDwtaEV6ASXwE5bqvMANtSjzM yuuRMI1htng3UI+14Ik7V1BRCC39qwy8RsoLSgS2E/RA3N0RCW1Cod5+MRJD+S7iPrCv41 bQ+byZuBQMWyi43/DtzT7rg2T3sw84Nicl8XEznEgeC5YhKk+bgsyZFK7mC0lVIm960MfY RtZ+YVOwBexh6/pwt5DWbZb1EhN9vkHtK1fJFhHeoACkHJkDultev4IOj5HKeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643108953; a=rsa-sha256; cv=none; b=erLDiuh2ruFt5MkwQCLO3dhgFXzN9BDHnlUmg5ahxBExxylCTBbKosrgW4q+S8PZWeP65Z meO17bgw3l1X+8eQBdAmVQokT3ixIXugW0hUHLi84IIURIzvt3e1AS2chj8KDD86a9MC2j pLtxt/z8uFloUajj/YLa++c7KMDvdzDzmQ5c1x4ZeHFawuoI7fTOE1OKVj0S9JkPKD/uKc VQOjVQ576W+56n7+kQ6h1QmgrHAKylzZB4aRNBy2PsOoh3yrSpTqNK/VTUzXfKaKsf6/0z Cm4bw1IkkCKSGG2ZpK+6sRQyOjVANZOs13xmhuOv/irMwD88bS4Lk92RLG/ieQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260116 --- Comment #3 from Bj=C3=B6rn Svensson --- Created attachment 231307 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231307&action= =3Dedit Proposed patch This proposed patch adds a macro for unifying the sb_acc and sb_ccc counters after the value has been updated. The macro can be changed for upstream users (like a userspace sctp stack) i= n a similar way as for sb_cc, i.e. it can be disabled when there is no usage of sb_ccc and sb_acc. See patch for more details. --=20 You are receiving this mail because: You are the assignee for the bug.=