CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2019/07/19 08:49:44

Modified files:
        sbin/dhclient  : dhclient.c 

Log message:
Keep dhclient.leases.<if> O_EXLOCK file descriptor open for the
lifefime of the dhclient instance. Use O_NONBLOCK so RTM_* messages
are seen while trying to open the O_EXLOCK file descriptor.

Prevents a possible race during startup, ensuring only one dhclient
instance can be configuring an interface. Improves responsiveness to
interface changes during startup.

Reply via email to