[klibc] PATCH: ipconfig may discard useful packets

Louis Rilling Louis.Rilling at kerlabs.com
Thu Jan 15 08:50:50 PST 2009

Hi Alkis,

On 09/10/08 20:04 +0300, Άλκης Γεωργόπουλος wrote:
> I've tested again with the current git ipconfig version before
> implementing the "require dhcp option" patch, and I keep seeing (with
> wireshark) ipconfig loosing packets in 2 dhcp server environments.
> I think this happens because some function return values are not well
> defined.
> As a result, sometimes packet_discard() in packet.c gets called with no
> packets waiting in the queue, so it waits indefinitely until some random
> packet arrives (and discards it).
> I've seen the original version wait for more than 2 minutes.
> I don't know how to fix this in small steps.
> I can't change only some return values, it won't make sense, nothing
> will work.
> I propose to send 1 big patch where I will *only* comment the desired
> function return values,
> and then another, smaller patch with the return values actually changed.

Any chance that you post a fix for this issue? We are observing a similar issue
that happens quite randomly but often...



Dr Louis Rilling			Kerlabs
Skype: louis.rilling			Batiment Germanium
Phone: (+33|0) 6 80 89 08 23		80 avenue des Buttes de Coesmes
http://www.kerlabs.com/			35700 Rennes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.zytor.com/pipermail/klibc/attachments/20090115/e4b4e417/attachment.bin 

More information about the klibc mailing list