From owner-freebsd-current@FreeBSD.ORG Mon Dec 15 20:00:24 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 71997106564A; Mon, 15 Dec 2008 20:00:24 +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 51B598FC16; Mon, 15 Dec 2008 20:00:24 +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 mBFJZOIh005030; Mon, 15 Dec 2008 11:35:24 -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="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Dec 2008 11:35:28 -0800 Message-ID: In-Reply-To: <873agpk11i.fsf@kobe.laptop> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HEADSUP: arp-v2 has been committed Thread-Index: AcleuzM4ft2uNm1IT5epXz6AwN7sTwALliIg References: <200812150634.mBF6YDVC060565@freefall.freebsd.org> <873agpk11i.fsf@kobe.laptop> From: "Li, Qing" To: "Giorgos Keramidas" , "Qing Li" Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org 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, 15 Dec 2008 20:00:24 -0000 The increase in "Use" count is not a leak. Before the arp-v2 commit,=20 the counter increment occurs in the ARP entry for the gateway, but=20 "rt_gwroute" is no longer necessary and has been removed. The outgoing=20 interface is known from the default route entry, and because the gateway is on-link, an ARP search is made in that interface.=20 The side effect is the "Use" count is increased in the default route entry. You will also notice a similar behavior when you access=20 on-link hosts, i.e., the "Use" count for the interface route 192.169.1.0/24 will go up for every outgoing packet. -- Qing > -----Original Message----- > From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd- > current@freebsd.org] On Behalf Of Giorgos Keramidas > Sent: Monday, December 15, 2008 5:42 AM > To: Qing Li > Cc: freebsd-net@freebsd.org; freebsd-current@freebsd.org > Subject: Re: HEADSUP: arp-v2 has been committed >=20 > On Mon, 15 Dec 2008 06:34:13 GMT, Qing Li wrote: > > Hi All, > > > > The arp-v2 changes have been committed into HEAD. > > Please report problems to me and Kip Macy. >=20 > Thanks! I've just updated my installation here to the new kernel and > userland and it seems to work fine so far. At least, ARP and IPv4 > seems > to work without any noticeable problem the last few hours :-) >=20 > I have one minor question though (still reading through the diff, so I > am not sure if this is `normal'). >=20 > The new netstat output includes a `Use' column that seems to be ever > increasing: >=20 > : % netstat -rn -f inet > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif > Expire > : default 192.168.1.1 UGS 0 5338 re0 > : 127.0.0.1 link#4 UH 0 1292 lo0 > : 192.168.1.0/24 link#2 U 0 2 re0 > : > : % netstat -rn -f inet > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif > Expire > : default 192.168.1.1 UGS 0 5365 re0 > : 127.0.0.1 link#4 UH 0 1337 lo0 > : 192.168.1.0/24 link#2 U 0 2 re0 > : > : % netstat -rn -f inet > : Routing tables > : > : Internet: > : Destination Gateway Flags Refs Use Netif > Expire > : default 192.168.1.1 UGS 0 5409 re0 > : 127.0.0.1 link#4 UH 0 1375 lo0 > : 192.168.1.0/24 link#2 U 0 2 re0 >=20 > Is this expected, or does it look like a leak? >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current- > unsubscribe@freebsd.org"