aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-11 15:43:52 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-09-11 15:43:52 -0700
commit335c6d55e6af4d5dfc2834a4f5bdae9430a62769 (patch)
tree9779169807a4009e95e4a83c9eb22be51a6760fb
parent831a5ab40cf7f7fa8b4a259650d12e4a98c2edde (diff)
downloadlwip-335c6d55e6af4d5dfc2834a4f5bdae9430a62769.tar.gz
lwip-335c6d55e6af4d5dfc2834a4f5bdae9430a62769.tar.xz
lwip-335c6d55e6af4d5dfc2834a4f5bdae9430a62769.zip
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@zytor.com>
-rw-r--r--core/lwip/src/netif/undiif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/lwip/src/netif/undiif.c b/core/lwip/src/netif/undiif.c
index f2ef6948..6abc7a2f 100644
--- a/core/lwip/src/netif/undiif.c
+++ b/core/lwip/src/netif/undiif.c
@@ -227,6 +227,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;