Date: Wed, 10 Jun 2009 10:34:59 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet/ipfw ip_fw2.c Message-ID: <200906101129.n5ABT1Sb043743@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2009-06-10 10:34:59 UTC FreeBSD src repository Modified files: sys/netinet/ipfw ip_fw2.c Log: SVN rev 193894 on 2009-06-10 10:34:59Z by luigi small simplifications to the code in charge of reaping deleted rules: - clear the head pointer immediately before using it, so there is no chance of mistakes; - call reap_rules() unconditionally. The function can handle a NULL argument just fine, and the cost of the extra call is hardly significant given that we do it rarely and outside the lock. MFC after: 3 days Revision Changes Path 1.4 +13 -16 src/sys/netinet/ipfw/ip_fw2.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906101129.n5ABT1Sb043743>