[Top][All Lists]

[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: Gecko/20080201 Firefox/

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:


  Message posté via/par Savannah

reply via email to

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