shithub: riscv

Download patch

ref: 7dfdb696a68fc9ef02a9d4877475f2206dec1d85
parent: f4617dc7db28cd75e73bbe0044aa6bfc6941bfe5
author: cinap_lenrek <cinap_lenrek@localhost>
date: Wed Jul 13 15:44:54 EDT 2011

ether82563: fix block refcounting incompatibility with 9atom

--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -792,6 +792,7 @@
 			p->nfast++;
 			p->x = b->next;
 			b->next = nil;
+			_xinc(&b->ref);
 			return b;
 		}
 
--