devether: use qfull() instead of qwindow()

This commit is contained in:
cinap_lenrek 2024-03-24 20:24:30 +00:00
parent fe4b87e682
commit 0f9c172712

View file

@ -133,7 +133,7 @@ etherrtrace(Netfile* f, Etherpkt* pkt, int len)
{
Block *bp;
if(qwindow(f->in) <= 0)
if(qfull(f->in))
return;
bp = iallocb(64);
if(bp == nil)