Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5063410rwb; Mon, 21 Nov 2022 16:11:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf41upEoK1RuZrDyuOn5BPh/1SgGvMQAnHzJoiyLRnFqfzG5hp3IkhUAFcsZ/i+K23h9dMjS X-Received: by 2002:a63:d909:0:b0:440:5517:5d8a with SMTP id r9-20020a63d909000000b0044055175d8amr3176494pgg.200.1669075910366; Mon, 21 Nov 2022 16:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669075910; cv=none; d=google.com; s=arc-20160816; b=KOgt6UwdqIe8fk4NNd7GJ2NTTjuInx4h5SwWiizeZDyCcJERRLUgS92Rjg0LQdqqTv iZ4I51er1KHB5Q4ix6ESeZ03ZL7gGGKfSWp7xl3U1//40X8eOSszPx1PZFedbp8jynnJ QIBmPD5mCwOnwYdxNTs1pvvzVNqLR8VLo9vGJnH4N7VmKnK8im8z5nEWXvqFgzCGei3V DUD7SNFaLizgvGyoh0WMqMg8u9d0sabJW4/Rmp0HvDEhgVfYIVjaHeY/ZfkIn85TvKDV qRDjmooTEhd3RzYE/QkwvILjAEX7u3q6JHU0m64fVfyAulkJtxPJqT1KX4n9z1vqtJqv oIlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:date:from:message-id :dkim-signature; bh=fbXGUFSXYza3y/lPkuKmgh/RBaDaBeod3XSq0CnLBAc=; b=YUanbaq7bHCVNnTTus6ClhS/XywJgO6VJDMU6lMCqOynmZ+wXAhry9Eg0t9d7QsJ76 G3xKsiVhWAbG5OjagFrFf5+Zk1TGUnXIGNjsSu5fG9OeYdwkKwS7mR+eP/ceVIm6IPgc ZFZfsMsydMit5Q1Nnyv1o2MmXTZIyvgirW5lt5Zm/Y5TssWN7rS2FJBtpXfOqrm4HShZ fhXMQljmpT2SQO5SvLGj1lt/6g3+DV/3nT3+EhoF1vnmX8WXB2wfmjPC1DAgpXbtXKRr W0e9hitx6fg6W3Zj+pnrnmn0N6YJWq10I6NSN8eyQH0I28Vl2yJBuSp5/fJwekELTmgo lB0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crudebyte.com header.s=lizzy header.b=OveqCZjP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=crudebyte.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a17090a854700b00212f86579f8si14722729pjw.111.2022.11.21.16.11.38; Mon, 21 Nov 2022 16:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crudebyte.com header.s=lizzy header.b=OveqCZjP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=crudebyte.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232026AbiKUX5K (ORCPT + 92 others); Mon, 21 Nov 2022 18:57:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232051AbiKUX4p (ORCPT ); Mon, 21 Nov 2022 18:56:45 -0500 Received: from lizzy.crudebyte.com (lizzy.crudebyte.com [91.194.90.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD36E6A75B for ; Mon, 21 Nov 2022 15:56:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crudebyte.com; s=lizzy; h=Cc:To:Subject:Date:From:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Content-ID: Content-Description; bh=fbXGUFSXYza3y/lPkuKmgh/RBaDaBeod3XSq0CnLBAc=; b=OveqC ZjPdyWA9YK2IrGld4O/RfodxUMX0RWG1zazPtEMLdidzxy8aGZI3zxy3qZ2/DhNOphzkW6tp8+X+p OMSizAYasbHDxqKt4vfRxr17mMzJI2J5pZS4r+lcIShgXUSLj56lpLRHqYCLpRc1KMUAZ7Q2Z2lZg Q4RVkC921Ly0jL+M6yXGq3ar1bkcgSFRnqKc/DQ9E0cczVzXGdnFQijtwtj9XvUYMmljXVmJtiz3Y 6VQqk0APkuxwB7s1xbwUe8PMkq4zZ2Ra6wcgIXi4vzqJ1AIGD0NmDsXNpO+EkPaX9NzsuDgMq+nGW by4hz0Xo7yrI35oO7JvRTtqc8fMyQ==; Message-Id: From: Christian Schoenebeck Date: Tue, 22 Nov 2022 00:09:46 +0100 Subject: [PATCH 0/2] net/9p: fix response size check in p9_check_errors() To: Dominique Martinet , Stefano Stabellini Cc: v9fs-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, GUO Zihua X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Follow-up fix for: https://lore.kernel.org/linux-kernel/Y3hADWgV9JeajmfF@codewreck.org/ Stefano, I am optimistic that this also works with Xen, but I have not tested it. Christian Schoenebeck (2): net/9p: distinguish zero-copy requests net/9p: fix response size check in p9_check_errors() include/net/9p/9p.h | 2 ++ net/9p/client.c | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) -- 2.30.2