lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6735] Provide new pbuf type: PBUF_RAM_NOCOPY


From: Simon Goldschmidt
Subject: [lwip-devel] [task #6735] Provide new pbuf type: PBUF_RAM_NOCOPY
Date: Tue, 03 Jul 2007 21:52:29 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #6, task #6735 (project lwip):

Wouldn't it be good to add an assertion into sockets.c:lwip_sendto() at the
point where the pbuf is freed that there is no other reference to it? (i.e.
p->ref == 1) If ref is > 1, the MAC still holds a reference (because the
packet is still queued) and that might lead to wrong data being sent. If such
an assert triggers, the user must switch to use PBUF_RAM(_NOCOPY?) instead.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6735>

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





reply via email to

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