From 2d3f4f397a20208cfa315979fc707802b81347eb Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 11 Jun 2013 06:41:02 +0000 Subject: [PATCH] Eth_input: allow frames smaller then 60 bytes. git-svn-id: svn://kolibrios.org@3642 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/ethernet.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trunk/network/ethernet.inc b/kernel/trunk/network/ethernet.inc index 74047f2503..9dd9f6f6a4 100644 --- a/kernel/trunk/network/ethernet.inc +++ b/kernel/trunk/network/ethernet.inc @@ -57,7 +57,7 @@ ETH_input: mov ecx, [esp+4] DEBUGF DEBUG_NETWORK_VERBOSE,"ETH_input: size=%u\n", ecx - cmp ecx, ETH_FRAME_MINIMUM + cmp ecx, sizeof.ETH_header ;ETH_FRAME_MINIMUM jb .dump sub ecx, sizeof.ETH_header