[Bug 274986] False positive to unload module dependencies

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Nov 2023 09:50:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274986

            Bug ID: 274986
           Summary: False positive to unload module dependencies
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zlei@FreeBSD.org

Steps to repeat:

```
# kldload bridgestp
# kldload if_bridge
# kldunload bridgestp && echo OK
OK
```

Try the second time:
```
# kldunload bridgestp
kldunload: can't unload file: Device busy
```

Expected behavior: since bridgestp.ko is dependency of if_bridge.ko , it makes
no senses to unload it with **SUCCESS** .

-- 
You are receiving this mail because:
You are the assignee for the bug.