In case of the global eventhandler make sure the current VNET
authorbz <bz@FreeBSD.org>
Thu, 30 Jun 2016 19:32:45 +0000 (19:32 +0000)
committerbz <bz@FreeBSD.org>
Thu, 30 Jun 2016 19:32:45 +0000 (19:32 +0000)
commit2af4ea8fc23a52e81375e66341be2d2596a3fb68
treed95ffe943fa2d9c93e3dcfb052ac8fbf16c2dad3
parent0c1171f994c5ad66aa192de0cc43b326e8cee144
In case of the global eventhandler make sure the current VNET
is still operational before doing any work;  otherwise we might
run into, e.g., destroyed locks.

PR: 210724
Reported by: olevole olevole.ru
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Obtained from: projects/vnet
Approved by: re (gjb)
sys/netpfil/ipfw/ip_fw_nat.c