git: 9front

Download patch

ref: 3ac232cf52edaebcdcfcdc88e9973f5acb45ca54
parent: d0cbed9021337e62d90eabd4601b9e2407ce1044
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Mar 24 16:24:30 EDT 2024

devether: use qfull() instead of qwindow()

--- a/sys/src/9/port/devether.c
+++ b/sys/src/9/port/devether.c
@@ -133,7 +133,7 @@
 {
 	Block *bp;
 
-	if(qwindow(f->in) <= 0)
+	if(qfull(f->in))
 		return;
 	bp = iallocb(64);
 	if(bp == nil)
--