NetBSD Problem Report #50127
From www@NetBSD.org Wed Aug 5 08:29:50 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id B5413A65B7
for <gnats-bugs@gnats.NetBSD.org>; Wed, 5 Aug 2015 08:29:50 +0000 (UTC)
Message-Id: <20150805082949.1D339A65B8@mollari.NetBSD.org>
Date: Wed, 5 Aug 2015 08:29:49 +0000 (UTC)
From: ozaki-r@netbsd.org
Reply-To: ozaki-r@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: ndp(8): temp option doesn't work
X-Send-Pr-Version: www-1.0
>Number: 50127
>Category: kern
>Synopsis: ndp(8): temp option doesn't work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 05 08:30:01 +0000 2015
>Closed-Date: Fri May 20 06:14:38 +0000 2016
>Last-Modified: Fri May 20 06:50:01 +0000 2016
>Originator: Ryota Ozaki
>Release: current
>Organization:
>Environment:
NetBSD rangeley 7.99.20 NetBSD 7.99.20 (RANGELEY) #10: Tue Jul 28 09:45:16 JST 2015 ozaki-r@(hidden) amd64
>Description:
ndp.8 says that, with temp option, we can insert an non-permanent NDP entry to the kernel.
However, it doesn't work. It seems that ndp correctly passes an expire value (> 0)
to the kernel, but the kernel ignores it.
>How-To-Repeat:
# ndp -s fc00::101 52:54:00:bb:18:01 temp
# ndp -n fc00::101
Neighbor Linklayer Address Netif Expire S Flags
fc00::101 52:54:00:bb:18:01 wm0 permanent R
The "Expire" column shouldn't be "permanent".
>Fix:
N/A
I guess this can probably be closed. It works for me with -current
and looking back through changes probably since you revision 1.178
commit where you separated nexthop caches from the routing table.
After the commit lla_rt_output is receiving and setting expiry time.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: rtr@NetBSD.org
State-Changed-When: Sun, 15 May 2016 20:39:50 +0000
State-Changed-Why:
Seems like it is fixed in -current.
State-Changed-From-To: feedback->closed
State-Changed-By: ozaki-r@NetBSD.org
State-Changed-When: Fri, 20 May 2016 06:14:38 +0000
State-Changed-Why:
Sure. Thank you for reminding me!
From: "Ryota Ozaki" <ozaki-r@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50127 CVS commit: src/tests/net/ndp
Date: Fri, 20 May 2016 06:48:52 +0000
Module Name: src
Committed By: ozaki-r
Date: Fri May 20 06:48:52 UTC 2016
Modified Files:
src/tests/net/ndp: t_ndp.sh
Log Message:
Adjust the tests for temp option that works now
See PR kern/50127
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/net/ndp/t_ndp.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.