Andrey V. Elsukov d8ba1ddc0f Do better cleaning in key_destroy() for VIMAGE case.
SPDB was cleaned using TAILQ_CONCAT() instead of calling key_unlink()
for each SP, thus we need to properly clean lists in each bucket of
V_sphashtbl to avoid panic in hashdestroy() when INVARIANTS is enabled.

Do the same for V_acqaddrhashtbl and V_acqseqhashtbl.

When we are called in DEFAULT_VNET, destroy also all global locks and
drain key_timer callout.

Reported by:	kp
Tested by:	kp
MFC after:	1 week
2017-12-01 09:59:42 +00:00
..
2017-11-28 18:23:17 +00:00
2017-11-30 17:58:48 +00:00
2017-11-30 15:58:38 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00