lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #11400] ARP multi-packet-queue modifies TCP unsent/una


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #11400] ARP multi-packet-queue modifies TCP unsent/unacked segment packet pbuf chain into packet queue
Date: Fri, 09 Mar 2007 07:33:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

Follow-up Comment #10, bug #11400 (project lwip):

Hey, someone tested it! Thanks for the comment, that happens if you use
cut&paste...
I've corrected it in CVS HEAD

But I've got another (code-reading) problem with that patch (I want to test
that on the weekend some time): in etharp.c, If you enqueue pbufs,
pbuf_take() is called (which is now the only call to that function, by the
way). There, PBUF_REFs are copied to new PBUF_RAMs. I think we still corrupt
a given pbuf chain in that case.

Maybe a solution would be to copy enqueued pbufs to a new location no matter
what type they are?

We don't event need pbuf_take any more, do we? Also, we don't need
pbuf_queue() and pbuf_dequeue() any more since it was #if ARP_QUEUEING

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?11400>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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