From owner-freebsd-net@FreeBSD.ORG Wed Sep 9 19:39:16 2009 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 65B3C1065695 for ; Wed, 9 Sep 2009 19:39:16 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from core.tav.kiev.ua (tavex.colocall.com [62.149.10.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA038FC12 for ; Wed, 9 Sep 2009 19:39:15 +0000 (UTC) Received: from [76.77.86.2] (helo=[10.80.5.136]) by core.tav.kiev.ua with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52 (FreeBSD)) id 1MlShq-000CmX-2B for freebsd-net@freebsd.org; Wed, 09 Sep 2009 22:19:50 +0300 Message-ID: <4AA7FFC0.6070302@bluezbox.com> Date: Wed, 09 Sep 2009 12:19:28 -0700 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Core-Spam-Level: + X-Core-Spam-Report: Spam detection software, running on the system "core.tav.kiev.ua", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: r196714 breaks NFSROOT in -CURRENT. When nfsclient tries to initialize interface calling ifioctl at nfsclient/nfs_vfsops.c:466 it fails with EEXIST (because route is already present I guess). I fixed it in my tree by checking for error code in mount_nfsroot, but may be it's ifioctl(SIOCAIFADDR) that should handle this case. [...] Content analysis details: (1.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 4.0 BAYES_95 BODY: Bayesian spam probability is 95 to 99% [score: 0.9630] -0.7 AWL AWL: From: address is in the auto white-list Subject: NFSROOT is broken after r196714 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: Wed, 09 Sep 2009 19:39:16 -0000 r196714 breaks NFSROOT in -CURRENT. When nfsclient tries to initialize interface calling ifioctl at nfsclient/nfs_vfsops.c:466 it fails with EEXIST (because route is already present I guess). I fixed it in my tree by checking for error code in mount_nfsroot, but may be it's ifioctl(SIOCAIFADDR) that should handle this case. -- gonzo