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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user