ref: 1b02c81c18eb4be6d9372c8d668ad2314bae7872
parent: 4e75dd52d6dc4601e1f9912779c85f760e8d71e1
author: Jacob Moody <moody@posixcafe.org>
date: Sat Nov 5 16:14:06 EDT 2022
ethervgbe: do not give userspace the frame check sequence
--- a/sys/src/9/pc/ethervgbe.c
+++ b/sys/src/9/pc/ethervgbe.c
@@ -592,7 +592,7 @@
/* plant new block, might fail if out of memory */
if(vgbenewrx(ctlr, i) == 0){
- block->wp = block->rp + length;
+ block->wp = block->rp + length - 4;
etheriq(edev, block);
continue;
}