mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-21 23:56:59 +08:00
fixed bug #48476 (TCP sent callback called wrongly due to picking up old pcb->acked
This commit is contained in:
@@ -398,6 +398,7 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
||||
goto aborted;
|
||||
}
|
||||
}
|
||||
pcb->acked = 0;
|
||||
}
|
||||
if (recv_flags & TF_CLOSED) {
|
||||
/* The connection has been closed and we will deallocate the
|
||||
|
||||
Reference in New Issue
Block a user