mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
Fixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence Fragments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10537 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ce5fad4151
commit
a167ecb13f
@ -292,7 +292,7 @@ Ip4Reassemble (
|
|||||||
// check whether THIS.Start < PREV.End for overlap. If two fragments
|
// check whether THIS.Start < PREV.End for overlap. If two fragments
|
||||||
// overlaps, trim the overlapped part off THIS fragment.
|
// overlaps, trim the overlapped part off THIS fragment.
|
||||||
//
|
//
|
||||||
if ((Prev = Cur->ForwardLink) != Head) {
|
if ((Cur != Head) && ((Prev = Cur->BackLink) != Head)) {
|
||||||
Fragment = NET_LIST_USER_STRUCT (Prev, NET_BUF, List);
|
Fragment = NET_LIST_USER_STRUCT (Prev, NET_BUF, List);
|
||||||
Node = IP4_GET_CLIP_INFO (Fragment);
|
Node = IP4_GET_CLIP_INFO (Fragment);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user