🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #98

[Bug 299244] virtio_console ignores RX flow control, drops data

#98
From: bugzilla-noreply
Date: Wed, 14 Oct 2026 18:37
41 lines
3714 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299244

Faraz Vahedi <kfv@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kfv@FreeBSD.org

--- Comment #1 from Faraz Vahedi <kfv@FreeBSD.org> ---
Thanks a lot for the report and the patch, and for digging into it!

I was aware of this one and am planning to tackle it as part of
some work I'm doing on virtio_console(4) at the moment.  I'll
surely reuse parts of your patch, but it can't go in as is: the
tty layer already holds the port mutex when it calls
tsw_inwakeup, so taking it again there trips the non-recursive
mutex check on kernels with INVARIANTS, and the receive path is
changing in my series, so the fix needs to fit in with that.
That said, your effort is very much appreciated and you'll be
credited in the corresponding commit.

> I also have no idea how contributing patches to FreeBSD works

I assume you've seen the Contributing to FreeBSD article, but if
not, you can find it at
https://docs.freebsd.org/en/articles/contributing/.

You can send your patches here, on reviews.FreeBSD.org, or as
GitHub pull requests for smaller changes.  Do not hesitate to
contact us if you need further guidance or a hand to get started.

Again, thanks a lot for your help, David.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-299244-227-ucXcD3FAxs@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-299244-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 299244] virtio_console ignores RX flow control, drops data
Date: Wed, 14 Oct 2026 18:37:31 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-299244-227-ucXcD3FAxs@https.bugs.freebsd.org/bugzilla/>
References: <bug-299244-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="42441"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792003051;
	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=WFw+A0WMIPjb1GJrh5XdIBwbtS3i6e/mONqudrVqCeY=;
	b=RJ2wP+13PvCW6pWgukAOICWnL+Du8XY1A7PIjhHU83wcX+vegrIhLCQSMPFVjvGqhtvfsL
	ONMERTAe6F7nw1MwbS92b/It4afnl7kXIYuB9zWYCb9ayVHYbjXuodPGYFLyv6S0xjCWta
	Dy0Y9TQhfHVu8zckLCWKMKzVkh8WEQPmkYhxKkUjY//EeWl5iHjjhYDw70qEDfHRwJHEf6
	bJO2J/WZvlCl3QJrsN9qSLK11xSFZsBrX+IdIxtuofaBlvV+oyRAxOiKoIL+KSYR50TIUT
	mNdOl7rOcMsFJoWdPsqp9xMxaESlAMhhTfFU+IsEy3lZv5F1XBlMcd4T6pLvuA==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-299244-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes