[KERNEL] Temporal fix for fragmented packet building

git-svn-id: svn://kolibrios.org@9806 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2022-05-05 14:58:04 +00:00
parent ebefc0be7c
commit 2543e89522

View File

@ -527,6 +527,10 @@ ipv4_input:
je .first_fragment
sub cx, bx ; If not, dont copy the header
add esi, ebx ;
add edi, ebx ; FIXME: We should add size of header of first fragment here
; instead of size of currently copying fragment
; because the fragment offset is offset within the big IP packet
; data (not within the packet, within packet's contents)
.first_fragment: