Subject: Re: kern/29531
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Darren Reed <darrenr@NetBSD.org>
List: netbsd-bugs
Date: 02/27/2005 17:36:01
The following reply was made to PR kern/29531; it has been noted by GNATS.
From: Darren Reed <darrenr@NetBSD.org>
To: apz-list@2304.org
Cc:
Subject: Re: kern/29531
Date: Sun, 27 Feb 2005 17:29:10 +0000
Please also apply this patch to ip_ftp_pxy.c
Darren
Index: ip_ftp_pxy.c
===================================================================
RCS file: /devel/CVS/IP-Filter/ip_ftp_pxy.c,v
retrieving revision 2.88.2.10
diff -c -r2.88.2.10 ip_ftp_pxy.c
*** ip_ftp_pxy.c 4 Feb 2005 10:22:54 -0000 2.88.2.10
--- ip_ftp_pxy.c 27 Feb 2005 17:20:02 -0000
***************
*** 286,292 ****
if (inc < 0)
m_adj(m, inc);
# ifdef M_PKTHDR
! if (!(m->m_flags & M_PKTHDR))
m->m_pkthdr.len += inc;
# endif
# endif
--- 286,292 ----
if (inc < 0)
m_adj(m, inc);
# ifdef M_PKTHDR
! if ((m->m_flags & M_PKTHDR) != 0)
m->m_pkthdr.len += inc;
# endif
# endif