|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #52554] LWIP_NETCONN_FULLDUPLEX: closing fails to end 'recv' calls correctly |
Date: | Wed, 29 Nov 2017 16:34:22 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 |
URL: <http://savannah.nongnu.org/bugs/?52554> Summary: LWIP_NETCONN_FULLDUPLEX: closing fails to end 'recv' calls correctly Project: lwIP - A Lightweight TCP/IP stack Submitted by: goldsimon Submitted on: Wed 29 Nov 2017 09:34:21 PM UTC Category: None Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: goldsimon Open/Closed: Open Discussion Lock: Any Planned Release: 2.1.0 lwIP version: git head _______________________________________________________ Details: - lwip_close() deallocates the netconn without checking fd_used - both netconn_close_shutdown(RD) and netconn_delete() (called from lwip_close()) drain and deallocat the recvmbox, so recv threads may or may not get woken _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?52554> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |