From owner-freebsd-net@freebsd.org Thu Oct 20 05:42:41 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF39EC18E13 for ; Thu, 20 Oct 2016 05:42:41 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id AB011C2A for ; Thu, 20 Oct 2016 05:42:41 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id AA6F2C18E12; Thu, 20 Oct 2016 05:42:41 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA212C18E11 for ; Thu, 20 Oct 2016 05:42:41 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (glebi.us [96.95.210.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 948EEC29; Thu, 20 Oct 2016 05:42:41 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id u9K5gelY034219 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 19 Oct 2016 22:42:40 -0700 (PDT) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id u9K5gdWx034218; Wed, 19 Oct 2016 22:42:39 -0700 (PDT) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 19 Oct 2016 22:42:39 -0700 From: Gleb Smirnoff To: Mike Karels Cc: George Neville-Neil , net@FreeBSD.org Subject: Re: TCP route caching panic Message-ID: <20161020054239.GP27748@FreeBSD.org> References: <20161020022107.GO27748@FreeBSD.org> <201610200532.u9K5WHH8018605@mail.karels.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201610200532.u9K5WHH8018605@mail.karels.net> User-Agent: Mutt/1.7.0 (2016-08-17) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 05:42:41 -0000 On Thu, Oct 20, 2016 at 12:32:17AM -0500, Mike Karels wrote: M> > On Wed, Oct 19, 2016 at 07:26:44PM -0500, Mike Karels wrote: M> > M> > On Wed, Oct 19, 2016 at 02:29:14PM -0700, Gleb Smirnoff wrote: M> > M> > T> Hi! M> > M> > T> M> > M> > T> I got this panic in a bhyve VM, which was just compiling stuff M> > M> > T> and had two ssh sessions open. It has static network configuration, M> > M> > T> one interfaces, one IP address, IPv4 only and it sees only hardware M> > M> > T> address of the host. So it is minimal possible configuration. It M> > M> > T> runs with INVARIANTS. M> > M> M> > M> > Important note that kernel has FLOWTABLE option. And recently I refined M> > M> > the original fix of FLOWTABLE+inpcb_route_cache. This might be related, M> > M> > but I don't see how. The inp code explicitly nulls the ro_lle when M> > M> > it frees it. M> > M> M> > M> Hmm, I run a similar configuration, but may not run as many compiles. M> > M> I'm running a recent head GENERIC system, so has INVARIANTS. I've M> > M> tested with FLOWTABLE in the past; I'll try it again now. M> > M> M> > M> But if I understand correctly, you have modifications? Could we see M> > M> them (assuming they are not in the tree, I haven't been watching closely)? M> M> > No, I don't have modifications. M> M> Sorry then, what did you mean by this: M> M> And recently I refined the original fix of FLOWTABLE+inpcb_route_cache. M> This might be related, That is already checked in as r307234. M> I've run one buildworld in s aimilar environment so far today, using NFS M> to the host for the sources. I'll try another. I also failed to reproduce for the last several hours. Will keep you updated, since I use the VM daily. -- Totus tuus, Glebius.