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: Wed, 21 Mar 2007 21:38:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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

I think the current state is still not free from modifying a present queue of
pbufs.

To solve this, I changed the function pbuf_take() (only used by ARP) into
pbuf_copy() which copies a chained pbuf into one big PBUF_RAM. This way, we
don't change the original pbufs in any way. It may be slower, but it's only
used at connection start.

Please see attached file.

(file #12228)
    _______________________________________________________

Additional Item Attachment:

File name: lwip_pbuf_copy.patch           Size:7 KB


    _______________________________________________________

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]