lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #22530] api_msg.c's recv_raw() does not consume data


From: Frédéric Bernon
Subject: [lwip-devel] [bug #22530] api_msg.c's recv_raw() does not consume data
Date: Wed, 12 Mar 2008 11:52:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

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

Uhmm, there is always a "small" problem: the netbuf::addr is initialized with
an address inside the "p" packet, and not inside the "q" one.

In fact, it's the same kind of problem than "[bug #22435] lwip_recvfrom with
TCP break".

The fastest way to fix it should be to write :

buf->addr = &(((struct ip_hdr*)(q->payload))->src);

No objections ?


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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