[Top][All Lists]

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

[lwip-users] shouldn't happen?

From: Tim Newsham
Subject: [lwip-users] shouldn't happen?
Date: Tue, 29 Jun 2004 20:02:15 -1000 (HST)

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)?

Tim N.

reply via email to

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