[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] [Haiku] #15095: gDeviceCount management in the FreeBSD compatibility layer needs improv
From:       "Haiku" <trac () haiku-os ! org>
Date:       2019-05-31 15:58:51
Message-ID: 039.f5255e4453472fb71cfe4368782609e3 () haiku-os ! org
[Download RAW message or body]

--===============6683287799005870198==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#15095: gDeviceCount management in the FreeBSD compatibility layer needs
improvement.
--------------------------------+------------------------------
 Reporter:  bga                 |        Owner:  bga
     Type:  bug                 |       Status:  assigned
 Priority:  normal              |    Milestone:  Unscheduled
Component:  Network & Internet  |      Version:  R1/Development
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 If during attach() a device for some reason fails to initialize, there are
 cases where gDeviceCount will not be decremented (specially when using
 iflib) as the place where this happens currently is never called in that
 case. So even if the device is not successfully initialized, the driver is
 not unloaded and the /dev entry still hangs around.

 We probably want to move the handling to a higher abstraction or simply
 remove it (it is not obvious to me if it is used outside the compatibility
 layer).

-- =

Ticket URL: <https://dev.haiku-os.org/ticket/15095>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

--===============6683287799005870198==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic