Closed AlexanderGrissik closed 2 years ago
Signed-off-by: Alexander Grissik agrissik@nvidia.com
PCB resource leak for failing connect blocking socket.
Setting pcb state manually to CLOSED, prevents it to be cleared correctly in subsequent tcp_close which should clear pcb resources.
Resource leak.
Use tcp_close instead of manually setting tcp_sate
What kind of change does this PR introduce?
Signed-off-by: Alexander Grissik agrissik@nvidia.com
Description
PCB resource leak for failing connect blocking socket.
What
Setting pcb state manually to CLOSED, prevents it to be cleared correctly in subsequent tcp_close which should clear pcb resources.
Why ?
Resource leak.
How ?
Use tcp_close instead of manually setting tcp_sate
Change type
What kind of change does this PR introduce?
Check list