[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#732693: unable to setup DHCP in kfreebsd-11

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: