From 43ea83d5a4a2dd8679ebfa97b6e8428510590373 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 11 Jan 2013 10:45:19 +0000 Subject: [PATCH] Fixed bug in RTL8029 which led to crash after receiving TCP frame. git-svn-id: svn://kolibrios.org@3158 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/drivers/RTL8029.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/branches/net/drivers/RTL8029.asm b/kernel/branches/net/drivers/RTL8029.asm index ff84ad0780..d23d917b33 100644 --- a/kernel/branches/net/drivers/RTL8029.asm +++ b/kernel/branches/net/drivers/RTL8029.asm @@ -766,6 +766,8 @@ int_handler: DEBUGF 1,"Device=%x status=%x\n", ebx, eax:2 + push ebx + test al, ISR_PRX ; packet received ok ? jz .no_rx @@ -917,6 +919,7 @@ int_handler: .no_rx: + pop ebx DEBUGF 2,"done\n" set_io 0