[Top][All Lists]

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

Re: [lwip-users] shouldn't happen?

From: Leon Woestenberg
Subject: Re: [lwip-users] shouldn't happen?
Date: Wed, 30 Jun 2004 12:23:11 +0200
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Hello Tim,

Tim Newsham wrote:
I checked out the CVS src tree today, and am playing around with it.
in etharp.c:etharp_output there are some lines:

  /* never reached; here for safety */
  return result;

reading the code, I dont see why it should never happen.  In
fact, it is happening.  Worse, its getting called by the
TCP retransmit function and happening twice, decrementing
the reference count to zero, and then asserting when it
tries to pbuf_free the buffer after its ref count is zero.

Is this a bug in the code?  Is the current cvs tree unstable
(should I be playing with a different version)?

You seem to have hit a bug. Use 0.7.2 for the moment. I am
investigating where the bug was introduced between 0.7.2 and
HEAD. In HEAD, etharp pushes the packet out of the link layer,
and the program flow has changed as a result, introducing a

Will need some time to fix this, I am rather busy at the moment.


reply via email to

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