From owner-svn-src-all@freebsd.org Fri May 11 14:36:39 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30911FD7C55; Fri, 11 May 2018 14:36:39 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id B8048736BE; Fri, 11 May 2018 14:36:38 +0000 (UTC) (envelope-from des@des.no) Received: from next.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id A1625B91A; Fri, 11 May 2018 14:36:37 +0000 (UTC) Received: by next.des.no (Postfix, from userid 1001) id 7C327811A; Fri, 11 May 2018 16:36:37 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Rodney W. Grimes" Cc: rgrimes@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r333476 - head/sys/net In-Reply-To: <201805110319.w4B3JGBv073462@pdx.rh.CN85.dnsmgr.net> (Rodney W. Grimes's message of "Thu, 10 May 2018 20:19:16 -0700 (PDT)") References: <201805110319.w4B3JGBv073462@pdx.rh.CN85.dnsmgr.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) Date: Fri, 11 May 2018 16:36:37 +0200 Message-ID: <86wowauumi.fsf@next.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 14:36:39 -0000 This booted and runs without issue, although obviously I wouldn't want to commit it: Index: sys/net/if.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/net/if.c (revision 333490) +++ sys/net/if.c (working copy) @@ -1814,6 +1814,7 @@ ifa_maintain_loopback_route(int cmd, const char *otype, struct ifaddr *ifa, struct sockaddr *ia) { +#if 0 int error; struct rt_addrinfo info; struct sockaddr_dl null_sdl; @@ -1837,6 +1838,9 @@ if_printf(ifp, "%s failed: %d\n", otype, error); =20 return (error); +#else + return (0); +#endif } =20 int DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no