|
From: | pek |
Subject: | Re: [lwip-devel] Closing connections with rawapi |
Date: | Mon, 05 May 2014 13:09:10 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
address@hidden writes: > "Sergio R. Caprile" <address@hidden> writes: >>> 3. tcp_abort() should check if the pcb is bound and in that case >>> remove it from tcp_bound_pcbs. >> >> I guess you are trying to save a pcb and reusing it for binds and >> connects... am I right ? In fact there are other paths that could trigger this bug as well. For example tcp_bind() followed by tcp_listen(). If tcp_listen() fails because the address/port is already used then tcp_abort() cannot be used to clean up the pcb. (sorry for posting from different addresses, my bad) Sincerely Per Knytt
[Prev in Thread] | Current Thread | [Next in Thread] |