shithub: riscv

Download patch

ref: 8c3acde2def299eebbb9eaf59d075a84b5dab131
parent: 988d326f321c24b7546164841f410aa93516a49d
author: cinap_lenrek <[email protected]>
date: Sun Aug 16 16:08:36 EDT 2015

devether: duplicate flags when copying blocks (thanks erik quanstro)

--- a/sys/src/9/pc/devether.c
+++ b/sys/src/9/pc/devether.c
@@ -184,6 +184,7 @@
 				else if(xbp = iallocb(len)){
 					memmove(xbp->wp, pkt, len);
 					xbp->wp += len;
+					xbp->flag = bp->flag;
 					if(qpass(f->in, xbp) < 0) {
 						// print("soverflow for f->in\n");
 						ether->soverflows++;