Received: by mail.netbsd.org (Postfix, from userid 605) id B3D3884D74; Tue, 21 Aug 2018 18:55:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A6CB884D86 for ; Tue, 21 Aug 2018 18:55:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EAW5IXM7tVdd for ; Tue, 21 Aug 2018 18:55:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1B7A284C71 for ; Tue, 21 Aug 2018 18:55:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 140E2FBEC; Tue, 21 Aug 2018 18:55:09 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 21 Aug 2018 18:55:09 +0000 From: "Jaromir Dolecek" Subject: CVS commit: src/sys/arch/xen/xen To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180821185509.140E2FBEC@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jaromir Dolecek" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: jdolecek Date: Tue Aug 21 18:55:09 UTC 2018 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: (only commit message for rev 1.85, no actual change) shuffle code in xbd_handler() response loop so that req_bp is never touched for non I/O responses; unknown commands are now just skipped, also without touching neither xbdreq, nor req_bp add some KASSERTS() for xbdreq->req_nr_segments and xbdreq->req_bp, and reset req_bp after it's processed to ensure the buf can never be processed twice intended to simplify debugging in cases like PR port-xen/53506 To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/arch/xen/xen/xbd_xenbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.