head	1.2;
access;
symbols
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2003.09.28.13.27.06;	author edwin;	state dead;
branches;
next	1.1;

1.1
date	2003.07.04.01.28.53;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update port: security/pf - OpenBSD 3.4 pf

	Port update after API change in PFIL_HOOKS in -current and
	OpenBSD 3.4 Release.

PR:		 ports/57305
Submitted by:	Max Laier <max@@love2party.net>
@
text
@--- pf/pf_norm.c	7 Apr 2003 15:31:41 -0000	1.2
+++ pf/pf_norm.c	3 Jul 2003 02:40:10 -0000	1.2.16.1
@@@@ -747,6 +747,9 @@@@
 				 */
 #if defined(__FreeBSD__)
 				*m0 = m_dup(m, M_NOWAIT);
+				/* From KAME Project : We have missed this! */
+				m_adj(*m0, (h->ip_hl << 2) -
+				    (*m0)->m_pkthdr.len);
 #else
 				*m0 = m_copym2(m, 0, h->ip_hl << 2, M_NOWAIT);
 #endif

@


1.1
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Add a critical patch to fix a problem with normalization, which does not
cause problems in normal operation but might lead to a pagefault => crash.

Submitted by:	Pyun YongHyeon <yongari@@kt-is.co.kr>
Approved by:	maintainer
@
text
@@

