Bug#732693: unable to setup DHCP in kfreebsd-11
- To: Robert Millan <rmh@debian.org>, 732693@bugs.debian.org, Markus Koschany <apo@gambaru.de>
- Subject: Bug#732693: unable to setup DHCP in kfreebsd-11
- From: Robert Millan <rmh@debian.org>
- Date: Thu, 02 Jan 2014 17:38:20 +0100
- Message-id: <[🔎] 52C595FC.7000802@debian.org>
- Reply-to: Robert Millan <rmh@debian.org>, 732693@bugs.debian.org
- In-reply-to: <52B76FD0.9040305@debian.org>
- References: <20131202130946.3024.11054.reportbug@localhost> <52B2264B.5020002@debian.org> <52B24084.3010607@debian.org> <52B2C9CF.6020800@gambaru.de> <52B33D57.4080401@debian.org> <52B41667.4070907@gambaru.de> <52B43837.9040901@debian.org> <52B608AD.6090804@gambaru.de> <52B76FD0.9040305@debian.org>
On 23/12/2013 00:03, Robert Millan wrote:
> On 21/12/2013 22:31, Markus Koschany wrote:
>> On 20.12.2013 13:29, Robert Millan wrote:
>> [...]
>>> If you've got spare time to do some tests, it would help to know which version
>>> of the kfreebsd-11 package introduced this bug.
>>
>> I downloaded the first and second kernel image for kfreebsd-11 amd64
>> from snapshots.debian.org:
>>
>> svn256281-1 works
>> svn258494-1 fails
Regression found:
$ svn-bisect good
Regression found!
Last good revision: r257690
First bad revision:
------------------------------------------------------------------------
r257692 | glebius | 2013-11-05 08:44:15 +0100 (dt, 05 nov 2013) | 14 lines
Rewrite in_control(), so that it is comprehendable without getting mad.
o Provide separate functions for SIOCAIFADDR and for SIOCDIFADDR, with
clear code flow from beginning to the end. After that the rest of
in_control() gets very small and clear.
o Provide sx(9) lock to protect against parallel ioctl() invocations.
o Reimplement logic from r201282, that tried to keep localhost route in
table when multiple P2P interfaces with same local address are created
and deleted.
Discussed with: pluknet, melifaro
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
------------------------------------------------------------------------
I'm not sure what's going on. Perhaps it has to do with the last bit (about
keeping localhost route in table).
Maybe the problem goes away when updating freebsd-net-tools to 10.x...
--
Robert Millan
Reply to: