[syslinux:lwip] pxe: lwip: update data pointer after getting a secondary fragment

syslinux-bot for H. Peter Anvin hpa at zytor.com
Fri Apr 22 20:05:32 PDT 2011


Commit-ID:  a84ba759b315c9c591104a926e53638605855c46
Gitweb:     http://syslinux.zytor.com/commit/a84ba759b315c9c591104a926e53638605855c46
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 11 Sep 2009 15:43:52 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Tue, 12 Apr 2011 14:40:52 -0700

pxe: lwip: update data pointer after getting a secondary fragment

After we receive a secondary fragment we need to update the frame data
pointer.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/lwip/src/netif/undiif.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/core/lwip/src/netif/undiif.c b/core/lwip/src/netif/undiif.c
index d557f29..69f2d76 100644
--- a/core/lwip/src/netif/undiif.c
+++ b/core/lwip/src/netif/undiif.c
@@ -229,6 +229,7 @@ low_level_input(t_PXENV_UNDI_ISR *isr)
 	   * Only received a partial frame, must get the next one...
 	   */
 	  get_packet_fragment(isr);
+	  r = GET_PTR(isr->Frame);
 	} else {
 	  memcpy(s, r, qb);
 	  s += qb;



More information about the Syslinux-commits mailing list