PERFORCE change 108000 for review

Gleb Smirnoff glebius at FreeBSD.org
Mon Oct 16 14:37:27 PDT 2006


On Mon, Oct 16, 2006 at 09:29:29PM +0000, Paolo Pisati wrote:
P> Change 108000 by piso at piso_newluxor on 2006/10/16 21:28:34
P> 
P> 	Move nat locking from private nat_chain_rwl to layer3_chain rwl.
P> +#define	NAT_WLOCK_ASSERT(_chain) IPFW_WLOCK_ASSERT(_chain)
P> +#define NAT_RLOCK(p) IPFW_RLOCK(p)
P> +#define NAT_RUNLOCK(p) IPFW_RUNLOCK(p)
P> +#define NAT_WLOCK(p) IPFW_WLOCK(p)
P> +#define NAT_WUNLOCK(p) IPFW_WUNLOCK(p)

It is an obfuscation of the code. Why do we need to have two words
doing the same instead of one?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the p4-projects mailing list