forked from KolibriOS/kolibrios
[KERNEL] Fix offset to first fragment
git-svn-id: svn://kolibrios.org@9803 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
12d55e6e71
commit
be86fc49c6
@ -506,7 +506,7 @@ ipv4_input:
|
||||
call kernel_alloc
|
||||
test eax, eax
|
||||
je .destroy_slot_pop ; If we dont have enough space to allocate the buffer, discard all packets in slot
|
||||
mov edx, [esp+4] ; Get pointer to first fragment entry back in edx
|
||||
mov edx, [esp] ; Get pointer to first fragment entry back in edx
|
||||
|
||||
.rebuild_packet_loop:
|
||||
movzx ecx, [edx + sizeof.NET_BUFF + sizeof.IPv4_FRAGMENT_entry + IPv4_header.FlagsAndFragmentOffset] ; Calculate the fragment offset
|
||||
|
Loading…
Reference in New Issue
Block a user