summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2012-08-09 14:46:52 +0000
committeremaste <emaste@FreeBSD.org>2012-08-09 14:46:52 +0000
commit310fb71c7ee84d624c38ecd96afdf8bce5c3d044 (patch)
tree9478ced7c05bbacea87efaedad30f80a7b235b51 /release
parente3d2617c9b2f72a9866a4471d1c29c0cc0f61644 (diff)
downloadFreeBSD-src-310fb71c7ee84d624c38ecd96afdf8bce5c3d044.zip
FreeBSD-src-310fb71c7ee84d624c38ecd96afdf8bce5c3d044.tar.gz
Improve lock and unlock symmetry
- Move destruction of per-ring locks to netmap_dtor_locked to mirror the initialization that happens in NIOCREGIF. Otherwise unloading a netmap- capable interface that was never put into netmap mode would try to mtx_destroy an uninitialized mutex, and panic. - Destroy core_lock in netmap_detach, mirroring init in netmap_attach. - Also comment out the knlist_destroy for now as there is currently no knlist_init. Sponsored by: ADARA Networks Reviewed by: luigi@
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud