Fix fallout from r258479: in pf_free_src_node() the node must already

be unlinked.

Reported by:	Konstantin Kukushkin <dark rambler-co.ru>
Sponsored by:	Nginx, Inc.
This commit is contained in:
Gleb Smirnoff 2013-12-22 12:10:36 +00:00
parent 1d76efc0e2
commit 0b5d46ce4d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259719

View File

@ -713,7 +713,6 @@ pf_free_src_node(struct pf_src_node *sn)
{
KASSERT(sn->states == 0, ("%s: %p has refs", __func__, sn));
LIST_REMOVE(sn, entry);
uma_zfree(V_pf_sources_z, sn);
}