[Bug 4598] udhcpc stop getting address from dhcp server from version 1.19.0 and up

bugzilla at busybox.net bugzilla at busybox.net
Tue Mar 13 07:21:35 UTC 2012


--- Comment #7 from Bugaboo <janne.colliander at gmail.com> 2012-03-13 07:21:34 UTC ---
I reproduced bug in ARM ESW system using – kernel and Busybox version
1.19.4 (log A).

Using same system but build with Busybox  version 1.3.1 (log B) I couldn’t
reproduce bug. Busybox 1.12.3 also didn’t reproduce bug (no log).

When bug appears select()-call in udhcpc.c: udhcpc_main() always ends with
My guess is that tcpsocket filter in new Busybox is not compatible with old
kernel, and 
prevent socket from receiving DHCP servers packets.

Could my guess be onto something? I’ll commented out the filter to see if it
really is the problem cause, 
and it fixed issue. After fix DHCP client worked normally.

Commented out line was in udhcpc.c: udhcp_raw_socket(): setsockopt(...)


Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list