]> git.lizzy.rs Git - plan9front.git/commitdiff
ether82563: fix block refcounting incompatibility with 9atom
authorcinap_lenrek <cinap_lenrek@localhost>
Wed, 13 Jul 2011 17:44:54 +0000 (19:44 +0200)
committercinap_lenrek <cinap_lenrek@localhost>
Wed, 13 Jul 2011 17:44:54 +0000 (19:44 +0200)
sys/src/9/pc/ether82563.c

index 94213a0134084ca247ef3806d00d3ab1f2561e95..20fcb2a6fcb191137ca6eb90a767afda3f1c1530 100644 (file)
@@ -792,6 +792,7 @@ i82563rballoc(Rbpool *p)
                        p->nfast++;
                        p->x = b->next;
                        b->next = nil;
+                       _xinc(&b->ref);
                        return b;
                }