Re: 2.6.13-rc2+ - problem with DHCP

From: Patrick McHardy
Date: Sun Oct 02 2005 - 00:37:35 EST


Radoslaw Szkodzinski wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick McHardy wrote:
|
| Are you sure? The patch was supposed to fix problems with DHCP clients
| using regular UDP sockets for sending DHCP requests. Which client are
| you using?
|

udhcpcd, version 0.9.9-pre (Gentoo ebuild
net-misc/udhcp-0.9.9_pre20041216-r1, no crazy optimisations, stock init
script, IP release disabled)

I can't reproduce the problem, it reliably works for me using pump,
dhclient or udhcpc. One thing I've noticed is that udhcpc 0.98
doesn't set the interface up itself and fails if it is down. Please
make sure that it is up in your tests.

2.6.13, 2.6.14-rc1 (up to the patch) both work fine.
2.6.14-rc2 and 2.6.14-rc3 do not. (they can't discover IP address)
The window is between that commit and rc2.
(about 180 changesets)

I only suspect that patch, it could be something else but I highly doubt
it. I'll check the current kernel with the patch backed out when I have
to restart.

Thanks. You mentioned you're setting up your ruleset after DHCP, which
means the patch can't be responsible because the codepath is never
taken for DHCP queries, so you probably need to do a binary search
over the remaining 180 changesets.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/