From owner-freebsd-net@freebsd.org Thu Oct 20 00:27:42 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 2A6FFC183D6 for ; Thu, 20 Oct 2016 00:27:42 +0000 (UTC) (envelope-from mike@karels.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1BADCC8F for ; Thu, 20 Oct 2016 00:27:42 +0000 (UTC) (envelope-from mike@karels.net) Received: by mailman.ysv.freebsd.org (Postfix) id 17FA8C183D5; Thu, 20 Oct 2016 00:27:42 +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 17962C183D4 for ; Thu, 20 Oct 2016 00:27:42 +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 96729C8E; Thu, 20 Oct 2016 00:27:40 +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 u9K0Qibx017899; Wed, 19 Oct 2016 19:26:45 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <201610200026.u9K0Qibx017899@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 16:36:40 -0700. <20161019233640.GN27748@FreeBSD.org> Date: Wed, 19 Oct 2016 19:26:44 -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 00:27:42 -0000 > On Wed, Oct 19, 2016 at 02:29:14PM -0700, Gleb Smirnoff wrote: > T> Hi! > T> > T> I got this panic in a bhyve VM, which was just compiling stuff > T> and had two ssh sessions open. It has static network configuration, > T> one interfaces, one IP address, IPv4 only and it sees only hardware > T> address of the host. So it is minimal possible configuration. It > T> runs with INVARIANTS. > Important note that kernel has FLOWTABLE option. And recently I refined > the original fix of FLOWTABLE+inpcb_route_cache. This might be related, > but I don't see how. The inp code explicitly nulls the ro_lle when > it frees it. Hmm, I run a similar configuration, but may not run as many compiles. I'm running a recent head GENERIC system, so has INVARIANTS. I've tested with FLOWTABLE in the past; I'll try it again now. But if I understand correctly, you have modifications? Could we see them (assuming they are not in the tree, I haven't been watching closely)? Mike