svn commit: r259719 - head/sys/netpfil/pf

Gleb Smirnoff glebius at FreeBSD.org
Sun Dec 22 12:10:36 UTC 2013


Author: glebius
Date: Sun Dec 22 12:10:36 2013
New Revision: 259719
URL: http://svnweb.freebsd.org/changeset/base/259719

Log:
  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.

Modified:
  head/sys/netpfil/pf/pf.c

Modified: head/sys/netpfil/pf/pf.c
==============================================================================
--- head/sys/netpfil/pf/pf.c	Sun Dec 22 11:41:26 2013	(r259718)
+++ head/sys/netpfil/pf/pf.c	Sun Dec 22 12:10:36 2013	(r259719)
@@ -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);
 }
 


More information about the svn-src-head mailing list