[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] PPP new Stack
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] PPP new Stack |
Date: |
Wed, 27 Feb 2013 22:36:01 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Nikolas,
On Wed, Feb 20, 2013 at 07:07:29PM +1100, Nikolas Karakotas wrote:
> Hi Sylvain,
>
> Ok I followed your suggestions and it works nicely. I just call
> ppp_close and don't delete the thread. When I want to reconnect I
> call ppp_reopen and it simply changes the netif interface to match
> the new ip. I also removed the sys_msleep(1) and added a semaphore
> to the uart rx interrupt.
Yeah, happy to hear that :-)
Anyway, I fixed the memory leak when using ppp_delete() on a PPPoS PCB
with input pbuf left, which can actually happens.
Sylvain
signature.asc
Description: Digital signature