[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #61592] tcp_free_listen(): assertion condition error,
From: |
quanjia |
Subject: |
[lwip-devel] [bug #61592] tcp_free_listen(): assertion condition error, should be: pcb->state == LISTEN |
Date: |
Wed, 1 Dec 2021 19:30:14 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 |
Follow-up Comment #2, bug #61592 (project lwip):
[comment #1 comment #1:]
> Have you checked that? From reading the code, you can see there's something
wrong because the comment doesn't match the assertion. However, your solution
is wrong: pcb->state is CLOSED at that point. I guess we would have found out
sooner if this was triggering...
>
> I'll probably change the assert anyway, but your proposed change would make
it worse.
----thanks, you are right, from reading the context the pcb state is CLOSED
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?61592>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/