|
From: | David Chance |
Subject: | [lwip-users] Dead loop inside tcp_output |
Date: | Wed, 1 Jul 2015 16:04:53 +0000 |
Hi there, I am using lwip 1.4.1. Once a while, my program will stay inside the following for loop forever, with the useg->next pointing back to useg, creating a dead loop tcp_output(struct tcp_pcb *pcb){ ..... /* useg should point to last segment on unacked queue */ useg = pcb->unacked; if (useg != NULL) { for (; useg->next != NULL; useg = useg->next); } .... I don't know how I got into this mode. Can anyone shine me light what I could be doing wrong? Thanks! Dave |
[Prev in Thread] | Current Thread | [Next in Thread] |