From owner-freebsd-net@FreeBSD.ORG Fri Mar 21 06:27:28 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF6AF1065674 for ; Fri, 21 Mar 2008 06:27:28 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from outbound0.mx.meer.net (outbound0.mx.meer.net [209.157.153.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9148FC16 for ; Fri, 21 Mar 2008 06:27:28 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outbound0.mx.meer.net (8.12.10/8.12.6) with ESMTP id m2L6R4iK050023; Thu, 20 Mar 2008 22:27:28 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id m2L6Qbq7046821; Thu, 20 Mar 2008 23:26:37 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (61.204.211.246.customerlink.pwd.ne.jp [61.204.211.246]) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.1) with ESMTP id m2L6QaaB088727; Thu, 20 Mar 2008 23:26:36 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Fri, 21 Mar 2008 15:26:35 +0900 Message-ID: From: gnn@freebsd.org To: James Snow In-Reply-To: <20080314005825.GD92537@teardrop.org> References: <200802222124.m1MLO7qq012802@freefall.freebsd.org> <47BF46DC.6030700@FreeBSD.org> <20080314004007.GC92537@teardrop.org> <20080314005825.GD92537@teardrop.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1.50 (i386-apple-darwin8.10.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: [PATCH] kern/120958: no response to ICMP traffic on interface configured with a link-local address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 06:27:28 -0000 At Thu, 13 Mar 2008 20:58:25 -0400, James Snow wrote: > > [1 ] > On Thu, Mar 13, 2008 at 08:40:07PM -0400, James Snow wrote: > > > > Also, I took a cue from the IN_LINKLOCAL() macro and added two new > > macros to sys/netinet/in.h to perform checks for the loopback network > > and the "zero" network. IN_LOOPBACK() and IN_ZERONET(), respectively. > > Woops. I suppose the macros are more useful when they're actually > called. > > Attached is a revised patch that performs the check for loopback > addresses less than twice but more than never. > This looks good. Best, George