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: Mon, 26 Mar 2007 11:42:12 +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 #25, bug #11400 (project lwip):

re comment #24:

I think you can't simply copy only one PBUF_REF part of a packet since that
would include changing the ->next pointers of the other parts of the packet.
This would only work if the PBUF_REF was the first pbuf in the packet, which
it never will be since all headers (IP / TCP / UDP) are allocated from _RAM
at send time.

Regarding the PBUF_POOL: I think it's a good idea to reserve this for
receiving in order not to block memory by tx needed to receive ACK frames,
for example. Different sized pools including some low-water-mark for RX would
be better (in fact, I'm using those pools, also not with the low-water-mark,
for now. But I think we already had that on lwip-users...)
But as long as it's that way, I'm sticking to PBUF_RAM for this solution.

    _______________________________________________________

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]