Address double init of ip_log mutex, fixing a panic after ipfilter is

re-enabled following it being disabled.

Approved by:	glebius (mentor)
Approved by:	re (blanket)
This commit is contained in:
Cy Schubert 2013-09-21 04:11:51 +00:00
parent 152e0e40a0
commit 6100a68654
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255757

View File

@ -324,7 +324,7 @@ ipf_log_soft_fini(softc, arg)
# endif
MUTEX_ENTER(&softl->ipl_mutex[i]);
}
MUTEX_EXIT(&softl->ipl_mutex[i]);
MUTEX_DESTROY(&softl->ipl_mutex[i]);
}
return 0;