shithub: riscv

Download patch

ref: 0f9c172712e834b8f45630a9665f2e271161692c
parent: fe4b87e6826469cf3c03bcfc4203336361b5bf68
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)