From owner-freebsd-net@FreeBSD.ORG Thu Apr 2 15:52:22 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2176EF94 for ; Thu, 2 Apr 2015 15:52:22 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D397796D for ; Thu, 2 Apr 2015 15:52:21 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D76401FE022; Thu, 2 Apr 2015 17:52:18 +0200 (CEST) Message-ID: <551D65DE.4090808@selasky.org> Date: Thu, 02 Apr 2015 17:53:02 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Karim Fodil-Lemelin , freebsd-net@freebsd.org Subject: Re: Another fragment question / patch References: <550C3A62.3080403@gmail.com> <550C5F6C.3080302@selasky.org> <550C7D0C.3090603@gmail.com> <550D3675.5030900@selasky.org> <551017D1.60008@gmail.com> In-Reply-To: <551017D1.60008@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 15:52:22 -0000 On 03/23/15 14:40, Karim Fodil-Lemelin wrote: > Hi, > > Your patch seems to work as well as mine, albeit completely swinging the > other way now since your copying a lot more from the packet header with > the call to m_dup_pkthdr() (including the M_COPYFLAGS, vlan tags, etc..). > > I think this is fine, one would expect IP fragments to be somewhat very > close to the original packet. > FYI: https://svnweb.freebsd.org/changeset/base/280991 --HPS