From 0cc6d4c112a269c69ece8b7da08dc632ffcc43f1 Mon Sep 17 00:00:00 2001 From: GutPuncher Date: Fri, 8 Dec 2023 00:22:59 -0500 Subject: [PATCH] Kludge VirtIONet driver loopback packet size. --- src/Home/Net/Drivers/VirtIONet.ZC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Home/Net/Drivers/VirtIONet.ZC b/src/Home/Net/Drivers/VirtIONet.ZC index a2010aa1..c858eaf9 100755 --- a/src/Home/Net/Drivers/VirtIONet.ZC +++ b/src/Home/Net/Drivers/VirtIONet.ZC @@ -203,7 +203,7 @@ I64 NetDriverPacketBufferGet(I64 de_index) I64 NetDriverPacketLengthGet(I64 de_index) { // TODO: ... de_index in Alec's VirtIO-Net driver don't match up to any way to get packet length... - return 0; + return ETHERNET_FRAME_SIZE; } U8 *EthernetMACGet() { return &VirtioNet.mac; }