forked from KolibriOS/kolibrios
[KERNEL] Temporal fix for fragmented packet building
git-svn-id: svn://kolibrios.org@9806 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ebefc0be7c
commit
2543e89522
@ -527,6 +527,10 @@ ipv4_input:
|
|||||||
je .first_fragment
|
je .first_fragment
|
||||||
sub cx, bx ; If not, dont copy the header
|
sub cx, bx ; If not, dont copy the header
|
||||||
add esi, ebx ;
|
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:
|
.first_fragment:
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user