| 394 | } |
| 395 | |
| 396 | static void |
| 397 | netdump_ifdetach(void *arg __unused, struct ifnet *ifp) |
| 398 | { |
| 399 | |
| 400 | NETDUMP_WLOCK(); |
| 401 | if (ifp == nd_ifp) |
| 402 | netdump_unconfigure(); |
| 403 | NETDUMP_WUNLOCK(); |
| 404 | } |
| 405 | |
| 406 | /* |
| 407 | * td of NULL is a sentinel value that indicates a kernel caller (ddb(4) or |
nothing calls this directly
no test coverage detected