https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248050

Mark Johnston <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|New                         |Closed
         Resolution|---                         |Not A Bug

--- Comment #2 from Mark Johnston <[email protected]> ---
This is by design, though the behaviour is admittedly not intuitive.  When you
kldload dtrace, dtrace.ko gets a reference; loading dtraceall.ko adds a second
reference to dtrace.ko.

The first attempt to unload dtrace releases the initial reference, but
dtraceall.ko's reference ensures that dtrace.ko remains loaded.  The second
attempt to unload fails because dtraceall.ko still depends on dtrace.ko. 
Unloading dtraceall.ko should cause dtrace.ko to be unloaded automatically in
that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to