Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=ckFYS7yj; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=hbfFtLxR Received: by mail.netbsd.org (Postfix, from userid 605) id 1EE8284D4D; Thu, 21 Mar 2024 12:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1711024403; bh=NlwSAga84e0ZDehQCzKJC2oMVXRT95ACn4DUKE8U4uI=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=ckFYS7yjcWGPyfGf9/dMsGDIWyCQj6R4MtF7pGZwTAapBX6QlVUp81KDdNCtbScpr A8AuVq6zQk3Sc4nzNGOYJAtuRLa5ARjYTzEKhkHjUm8G7d3i7ouLEHsuNiUXZNwS1u l9niMQb0prswxARWMUDp7lXeGSZ3zSxjM43cymIQ= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 05F8084DBD for ; Thu, 21 Mar 2024 12:33:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id AA4C2YM4ptqK for ; Thu, 21 Mar 2024 12:33:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 9709884D2D for ; Thu, 21 Mar 2024 12:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1711024401; bh=NlwSAga84e0ZDehQCzKJC2oMVXRT95ACn4DUKE8U4uI=; h=Date:From:Subject:To:Reply-To; b=hbfFtLxRjJc9SKi3I8/qOcWwc1DPOZRmKVrCfUC35MNrvkhH7WGZxjcmM9KBuNDQt X2fZ4yG7rEnCi5bPsetdXWHdaUkoHrEoeTVd6Ly2mrMaiOua0e9H0+wuyBF/WdlQIp FkSthFB176J5Dl2GbUsVJmO0aFmIiBllLKirQCws= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8C1CBFA2C; Thu, 21 Mar 2024 12:33:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 21 Mar 2024 12:33:21 +0000 From: "Tetsuya Isaki" Subject: CVS commit: src/sys/dev/pci To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240321123321.8C1CBFA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Tetsuya Isaki" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: isaki Date: Thu Mar 21 12:33:21 UTC 2024 Modified Files: src/sys/dev/pci: if_vioif.c Log Message: Ensure that the number of bus_dma segments doesn't exceed VirtIO queue size. This fixes reproducible panics when the host's VirtIO queue size is too small, less than or equal to VIRTIO_NET_TX_MAXNSEGS(=16). PR kern/58049. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/dev/pci/if_vioif.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.