From owner-freebsd-net@freebsd.org Thu Oct 20 05:32:19 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 6DF49C18A45 for ; Thu, 20 Oct 2016 05:32:19 +0000 (UTC) (envelope-from mike@karels.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5F970814 for ; Thu, 20 Oct 2016 05:32:19 +0000 (UTC) (envelope-from mike@karels.net) Received: by mailman.ysv.freebsd.org (Postfix) id 5F01DC18A44; Thu, 20 Oct 2016 05:32:19 +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 5EAB2C18A43 for ; Thu, 20 Oct 2016 05:32:19 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [63.231.190.5]) by mx1.freebsd.org (Postfix) with ESMTP id F319D80E; Thu, 20 Oct 2016 05:32:18 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id u9K5WHH8018605; Thu, 20 Oct 2016 00:32:17 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <201610200532.u9K5WHH8018605@mail.karels.net> To: Gleb Smirnoff cc: George Neville-Neil , net@FreeBSD.org From: Mike Karels Reply-to: mike@karels.net Subject: Re: TCP route caching panic In-reply-to: Your message of Wed, 19 Oct 2016 19:21:07 -0700. <20161020022107.GO27748@FreeBSD.org> Date: Thu, 20 Oct 2016 00:32:17 -0500 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:32:19 -0000 > On Wed, Oct 19, 2016 at 07:26:44PM -0500, Mike Karels wrote: > M> > On Wed, Oct 19, 2016 at 02:29:14PM -0700, Gleb Smirnoff wrote: > M> > T> Hi! > M> > T> > M> > T> I got this panic in a bhyve VM, which was just compiling stuff > M> > T> and had two ssh sessions open. It has static network configuration, > M> > T> one interfaces, one IP address, IPv4 only and it sees only hardware > M> > T> address of the host. So it is minimal possible configuration. It > M> > T> runs with INVARIANTS. > M> > M> > Important note that kernel has FLOWTABLE option. And recently I refined > M> > the original fix of FLOWTABLE+inpcb_route_cache. This might be related, > M> > but I don't see how. The inp code explicitly nulls the ro_lle when > M> > it frees it. > M> > M> Hmm, I run a similar configuration, but may not run as many compiles. > M> I'm running a recent head GENERIC system, so has INVARIANTS. I've > M> tested with FLOWTABLE in the past; I'll try it again now. > M> > M> But if I understand correctly, you have modifications? Could we see > M> them (assuming they are not in the tree, I haven't been watching closely)? > No, I don't have modifications. Sorry then, what did you mean by this: And recently I refined the original fix of FLOWTABLE+inpcb_route_cache. This might be related, I've run one buildworld in s aimilar environment so far today, using NFS to the host for the sources. I'll try another. Mike