lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP tcp_output Pcb Corruption


From: mary_west
Subject: Re: [lwip-users] LwIP tcp_output Pcb Corruption
Date: Thu, 21 Mar 2013 14:16:37 -0600

Hi –

 

Thanks for the response.   Do I get rid of ETH_IRQHandler altogether?  It checks for input, calls ethernetif_input which calls low_level_input and ethernet_input (setup in netif_add) then clears the ETH_DMAs.  Do I move this all to the main loop?

 

Thanks in advance-

Mary

 

From: address@hidden [mailto:address@hidden On Behalf Of Simon Goldschmidt
Sent: Thursday, March 21, 2013 12:24 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] LwIP tcp_output Pcb Corruption

 

 

  I read this in the archive as part of an answer to a question about a similar input problem:

  "When running without an OS, you have to put new packets on a linked list that is processed

  periodically from main() (just like the timers)."  Is this true for outgoing tcp packets?

 

No, it means don't call ethernet_input from the interrupt but from the main loop, too.

 

Simon


reply via email to

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