svn commit: r234272 - projects/pf/head/sys/contrib/pf/net
Gleb Smirnoff
glebius at FreeBSD.org
Sat Apr 14 06:53:16 UTC 2012
Author: glebius
Date: Sat Apr 14 06:53:15 2012
New Revision: 234272
URL: http://svn.freebsd.org/changeset/base/234272
Log:
Assert rules read lock in pf_get_translation().
Modified:
projects/pf/head/sys/contrib/pf/net/pf_lb.c
Modified: projects/pf/head/sys/contrib/pf/net/pf_lb.c
==============================================================================
--- projects/pf/head/sys/contrib/pf/net/pf_lb.c Sat Apr 14 06:52:31 2012 (r234271)
+++ projects/pf/head/sys/contrib/pf/net/pf_lb.c Sat Apr 14 06:53:15 2012 (r234272)
@@ -538,6 +538,7 @@ pf_get_translation(struct pf_pdesc *pd,
struct pf_addr *naddr;
uint16_t *nport;
+ PF_RULES_RASSERT();
KASSERT(*skp == NULL, ("*skp not NULL"));
KASSERT(*nkp == NULL, ("*nkp not NULL"));
More information about the svn-src-projects
mailing list