From owner-freebsd-net@FreeBSD.ORG Thu Aug 22 22:05:04 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0769AF1A; Thu, 22 Aug 2013 22:05:04 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id E42D527C2; Thu, 22 Aug 2013 22:05:03 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r7MM52VC057380; Thu, 22 Aug 2013 15:05:03 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <52168B0E.1050308@rawbw.com> Date: Thu, 22 Aug 2013 15:05:02 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130822 Thunderbird/17.0.8 MIME-Version: 1.0 To: Mark Johnston Subject: Re: DTrace network providers References: <20130821045926.GA17196@raichu> In-Reply-To: <20130821045926.GA17196@raichu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-dtrace@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 22 Aug 2013 22:05:04 -0000 On 08/20/2013 22:00, Mark Johnston wrote: > The patch is here: > > http://people.freebsd.org/~markj/patches/network-providers/network-providers-1.diff > > It depends on r254468. To use it, just recompile the kernel (assuming Your patch fails to apply, see below. I use clean r254468 as you suggested. Yuri -------------------------- |diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c |index 0a87e7a..15196e0 100644 |--- a/sys/netinet/ip_output.c |+++ b/sys/netinet/ip_output.c -------------------------- Patching file a/sys/netinet/ip_output.c using Plan A... Hunk #1 succeeded at 34. Hunk #2 succeeded at 48. Hunk #3 succeeded at 66. Hunk #4 failed at 625. Hunk #5 succeeded at 660 with fuzz 2. 1 out of 5 hunks failed--saving rejects to a/sys/netinet/ip_output.c.rej -------------------------- |diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c |index 7755da1..9eaa0aa 100644 |--- a/sys/netinet6/nd6.c |+++ b/sys/netinet6/nd6.c -------------------------- Patching file a/sys/netinet6/nd6.c using Plan A... Hunk #1 succeeded at 34. Hunk #2 succeeded at 51. Hunk #3 succeeded at 64. Hunk #4 failed at 2086. 1 out of 4 hunks failed--saving rejects to a/sys/netinet6/nd6.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: