summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_crypto_bip.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-01 03:25:02 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-01 03:25:02 +0000
commit14a238cd2fb6586628725e50ef1d3ef4ad01c771 (patch)
tree699ad2f7ca5bc885bc29c86ec295c69a58d0800a /sys/net80211/ieee80211_crypto_bip.c
parentb446932b07f5b00e5606436e3455e1c58082b71c (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