From owner-svn-src-head@freebsd.org Tue May 29 07:39:20 2018 Return-Path: Delivered-To: svn-src-head@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 00BF0EF71C6; Tue, 29 May 2018 07:39:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 941BE7B825; Tue, 29 May 2018 07:39:19 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id F1F9C260474; Tue, 29 May 2018 09:39:16 +0200 (CEST) Subject: Re: svn commit: r334314 - head/sys/net To: Matt Macy , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201805290714.w4T7EwCI044326@repo.freebsd.org> From: Hans Petter Selasky Message-ID: Date: Tue, 29 May 2018 09:39:04 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <201805290714.w4T7EwCI044326@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 07:39:20 -0000 On 05/29/18 09:14, Matt Macy wrote: > Author: mmacy > Date: Tue May 29 07:14:57 2018 > New Revision: 334314 > URL: https://svnweb.freebsd.org/changeset/base/334314 > > Log: > rt_getifa_fib: don't use ifa but info->rti_ifa > > Reported by: kp > > Modified: > head/sys/net/route.c > > Modified: head/sys/net/route.c > ============================================================================== > --- head/sys/net/route.c Tue May 29 04:23:21 2018 (r334313) > +++ head/sys/net/route.c Tue May 29 07:14:57 2018 (r334314) > @@ -1308,7 +1308,7 @@ rt_getifa_fib(struct rt_addrinfo *info, u_int fibnum) > } > if (needref && info->rti_ifa != NULL) { > if (info->rti_ifp == NULL) > - info->rti_ifp = ifa->ifa_ifp; > + info->rti_ifp = info->rti_ifa->ifa_ifp; > ifa_ref(info->rti_ifa); > } else > error = ENETUNREACH; > > Hi, This and the previous commit solves the panics I see. --HPS