From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 28 10:40:33 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78FC916A412 for ; Tue, 28 Nov 2006 10:40:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95B1B43CAA for ; Tue, 28 Nov 2006 10:40:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kASAeDTJ058398 for ; Tue, 28 Nov 2006 10:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kASAeDtf058397; Tue, 28 Nov 2006 10:40:13 GMT (envelope-from gnats) Resent-Date: Tue, 28 Nov 2006 10:40:13 GMT Resent-Message-Id: <200611281040.kASAeDtf058397@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yar Tikhiy Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4082D16A494 for ; Tue, 28 Nov 2006 10:32:52 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from jujik.ramtel.ru (jujik.ramtel.ru [81.19.64.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BDC543CC7 for ; Tue, 28 Nov 2006 10:32:33 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from jujik.ramtel.ru (localhost [127.0.0.1]) by jujik.ramtel.ru (8.13.8/8.13.8) with ESMTP id kASAWFsf086329 for ; Tue, 28 Nov 2006 13:32:15 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by jujik.ramtel.ru (8.13.8/8.13.8/Submit) id kASAWEVN086328; Tue, 28 Nov 2006 13:32:14 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Message-Id: <200611281032.kASAWEVN086328@jujik.ramtel.ru> Date: Tue, 28 Nov 2006 13:32:14 +0300 (MSK) From: Yar Tikhiy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/105945: Address can disappear from network interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 10:40:33 -0000 >Number: 105945 >Category: kern >Synopsis: Address can disappear from network interface >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 28 10:40:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yar Tikhiy >Release: FreeBSD 7.0-CURRENT i386 >Organization: none >Environment: CURRENT and 6-STABLE >Description: If a cloned interface is destroyed, recreated, and assigned an address without a delay, the address will disappear in a moment. Moreover, a delay not longer than 0.1 sec between destruction and recreation doesn't seem to affect the issue. >How-To-Repeat: dg6# cat lo.sh ifconfig lo5 destroy ifconfig lo5 create 127.1.1.$1/24 mtu ${1}00 ifconfig lo5 echo almost there... echo sleep 1 ifconfig lo5 echo dg6# sh lo.sh 100 ifconfig: interface lo5 does not exist lo5: flags=8049 mtu 10000 inet 127.1.1.100 netmask 0xffffff00 almost there... lo5: flags=8049 mtu 10000 inet 127.1.1.100 netmask 0xffffff00 dg6# sh lo.sh 101 lo5: flags=8049 mtu 10100 inet 127.1.1.101 netmask 0xffffff00 almost there... lo5: flags=8048 mtu 10100 dg6# sh lo.sh 102 lo5: flags=8049 mtu 10200 inet 127.1.1.102 netmask 0xffffff00 almost there... lo5: flags=8048 mtu 10200 dg6# As the cookie stored in mtu shows, we are not setting parameters on the dying instance of the interface -- IP just disappears from the new instance. >Fix: >Release-Note: >Audit-Trail: >Unformatted: