From owner-freebsd-hackers Sun Jun 23 0:52: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.cwnt.com (smtp.cwnt.com [192.116.246.129]) by hub.freebsd.org (Postfix) with ESMTP id 30F9E37B400 for ; Sun, 23 Jun 2002 00:52:04 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable Subject: m_cat() does not update m_pkthdr.len Date: Sun, 23 Jun 2002 10:52:02 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: m_cat() does not update m_pkthdr.len Thread-Index: AcIaittjCJd7toR7EdatAgDQtyxpMA== From: "Yahel Zamir" To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, During development of networking code in FreeBSD kernel,=20 we noticed that m_cat(p1, p2) does NOT do some necessary things:=20 p1->m_pkthdr.len +=3D p2->m_pkthdr.len;=20 p2->m_flags &=3D ~M_PKTHDR;=20 Thanks,=20 Yahel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message