From owner-freebsd-current@FreeBSD.ORG Mon Dec 22 09:56:01 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C03DF1065674; Mon, 22 Dec 2008 09:56:01 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 89C6A8FC22; Mon, 22 Dec 2008 09:56:01 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id mBM9tep0025276; Mon, 22 Dec 2008 01:55:40 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Dec 2008 01:55:34 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HEADSUP: arp-v2 has been committed Thread-Index: AclkGZbkPMJpOFPYTQuW1eHqlBXE2QAARJEL References: <20081221125120.GO23166@droso.net> From: "Li, Qing" To: , , Cc: Gerald Pfeifer , Vladimir Grebenschikov , Kip Macy , Qing Li , Ian FREISLICH Subject: RE: HEADSUP: arp-v2 has been committed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 09:56:01 -0000 Thank you all for patching these programs. I scanned through your patches and they all look fine.=20 Each one that I read through seems to be simple fix, which=20 is what I hoped for. Again, just to emphasize the points I made in my previous emails, the code that retrieves the ARP table by means of sysctl() does not have to check for the RTF_LLINFO entries in the returned list because the retrieved entries all belong to the ARP table. For those programs=20 that retrieve the routing table through the routing socket interface, the code that bypasses RTF_LLINFO entries can=20 also be eliminated because the routing table does not contain any L2 information.=20 -- Qing -----Original Message----- From: owner-freebsd-net@freebsd.org on behalf of Eygene Ryabinkin Sent: Mon 12/22/2008 1:40 AM To: freebsd-current@freebsd.org; freebsd-net@freebsd.org Cc: Gerald Pfeifer; Vladimir Grebenschikov; Kip Macy; Qing Li; Ian = FREISLICH; Erwin Lansing Subject: Re: HEADSUP: arp-v2 has been committed =20 Greetings! Mon, Dec 22, 2008 at 10:04:22AM +0200, Ian FREISLICH wrote: > Erwin Lansing wrote: > > > RTF_WASCLONE and RTF_LLINFO routing flags. The userland = applications=20 > > > such as "arp" and "ndp" have been modified to reflect those = changes. > > > so I guess it's not so easy. =20 > > > How many other ports are affected? > > The latest full run with HEAD from a few days back hasn't quite = finished > > yet, so there might turn up a few more, but so far it's just a = handful: > > net/libdnet > > devel/libpdel > > net-mgmt/net-snmp > > net/netwib > > net/p5-Net-RawIP > > net-mgmt/net-snmp4 > > emulators/wine > > You can add net/quagga to that list as well. net/openospfd is also affected. Attached is the simple patch to take into account the withdrawal of RTF_LLINFO. Perhaps something else should be done -- I'll up some -CURRENT systems and will try to test the Real Stuff (TM). --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ #