diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-01 03:25:02 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-01 03:25:02 +0000 |
commit | 14a238cd2fb6586628725e50ef1d3ef4ad01c771 (patch) | |
tree | 699ad2f7ca5bc885bc29c86ec295c69a58d0800a /sys/net80211/ieee80211_crypto_bip.c | |
parent | b446932b07f5b00e5606436e3455e1c58082b71c (diff) |
Add a few KASSERTs to config_attach() for sanity to make sure we don't
try to reuse device unit numbers and to check that the device pointer
array is allocated and large enough.
Also, improve the panic message generated by config_detach() when we
detect that we're detaching a device that still has children.
Discussed with deraadt@ while trying to brainstorm ways that
interleaving config_attach and config_detach could blow up.
Diffstat (limited to 'sys/net80211/ieee80211_crypto_bip.c')
0 files changed, 0 insertions, 0 deletions