From owner-freebsd-net@freebsd.org Wed Oct 19 23:36:43 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 20474C19512 for ; Wed, 19 Oct 2016 23:36:43 +0000 (UTC) (envelope-from glebius@FreeBSD.org) 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 0C68F140 for ; Wed, 19 Oct 2016 23:36:43 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0BBC0C19511; Wed, 19 Oct 2016 23:36:43 +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 0B65DC19510 for ; Wed, 19 Oct 2016 23:36:43 +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 EA9D213F; Wed, 19 Oct 2016 23:36:42 +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 u9JNafkK031554 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 19 Oct 2016 16:36:41 -0700 (PDT) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id u9JNaeog031553; Wed, 19 Oct 2016 16:36:40 -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 16:36:40 -0700 From: Gleb Smirnoff To: Mike Karels , George Neville-Neil Cc: net@FreeBSD.org Subject: Re: TCP route caching panic Message-ID: <20161019233640.GN27748@FreeBSD.org> References: <20161019212914.GJ27748@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161019212914.GJ27748@FreeBSD.org> 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: Wed, 19 Oct 2016 23:36:43 -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. -- Totus tuus, Glebius.