lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [ppp-new]function ppp_clear() will clean pppos input thread


From: 韩辉
Subject: [lwip-devel] [ppp-new]function ppp_clear() will clean pppos input thread file descriptor.
Date: Fri, 24 Aug 2012 23:13:52 +0800 (CST)

Hi 
   Sylvain Rochet

    If I use pppos, the input thread "ppp_input_thread()" use "pcrx->fd" as tty file descriptor. then I called ppp_reopen(), the ppp_clear() will use memset() clean all memory of the ppp_pcb following ppp-> phase, so pcrx->fd will be 0.


hanhui



reply via email to

[Prev in Thread] Current Thread [Next in Thread]