[En-Nut-Discussion] Possible race condition in DHCP and DHCPKick
Ole Reinhardt
ole.reinhardt at embedded-it.de
Sun Feb 12 19:00:01 CET 2012
Hi!
> Isn't it more reliably to redesign dhcp into an active and a passive
> part. The active part can work with post/wait and simply offers a
> current_state variable like dhcpState.
> If DHCP_BOUND or DHCP_TOUT is reached it goes to sleep and wait for a
> restart-event.
Good Idea! Please go ahead! (Or your college :)
I just looked over the code without taking a redesign into account. As
the DHCP part made several problems in the past a redesign might be the
better choice.
bye,
Ole
--
Thermotemp GmbH, Embedded-IT
Embedded Hard-/ Software and Open Source Development,
Integration and Consulting
http://www.embedded-it.de
Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
More information about the En-Nut-Discussion
mailing list