[KERNEL] Temporal fragmented packet size workaround

git-svn-id: svn://kolibrios.org@9802 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2022-05-02 12:41:26 +00:00
parent b2bd20b9fa
commit 12d55e6e71

View File

@ -554,6 +554,7 @@ ipv4_input:
mov [edx + IPv4_header.TotalLength], cx
add esp, 12
xchg cl, ch
inc ecx ; FIXME: Why it has to be incremented?
push ecx edx ; size and pointer
mov edi, [edi_saved]
jmp .handle_it ; edx = buf ptr, ecx = size, [esp] buf ptr, [esp+4], total size, ebx=device ptr