Subject: CVS commit: src/sys/dist/pf/net
To: None <source-changes@NetBSD.org>
From: Peter Postma <peter@netbsd.org>
List: source-changes
Date: 12/21/2004 12:05:34
Module Name:	src
Committed By:	peter
Date:		Tue Dec 21 12:05:34 UTC 2004

Modified Files:
	src/sys/dist/pf/net: pf.c

Log Message:
Apply a patch from OPENBSD_3_6 branch (ok yamt).

MFC:
Fix by mcbride@

Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,
prevents a possible endless loop in pf_get_sport() with 'static-port'

Reported by adm at celeritystorm dot com in FreeBSD PR74930, debugging
by dhartmei@

ok mcbride@ dhartmei@ deraadt@ henning@


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dist/pf/net/pf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.