Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp908270pxb; Fri, 15 Apr 2022 15:02:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyydcF89J1RbUgkvj7ZkjrmdGsznZRp+0SpMIOlGAwI4+HPJ6s2LyYLxvM8HVXIAMrwCsnv X-Received: by 2002:a17:907:d09:b0:6e8:3eef:3192 with SMTP id gn9-20020a1709070d0900b006e83eef3192mr788466ejc.122.1650060141200; Fri, 15 Apr 2022 15:02:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650060141; cv=none; d=google.com; s=arc-20160816; b=T3FkgnxPYbEeabiXgGVv2QtiWvf2cazAHH7CKGKHkeC7qNVB1CnUMMMxsRe9KXSYkL jJ36BAYDJi7Aq9XZ0s0M1ek3iOBWfNcZb+4v8TOa33rJo/tFQnOqPZMeNHeLWWNPLpJ4 VWmSHkrs6dvVTk2BLAYX42MDlPWTBT3wmT5NeUITg9mSLQIJOK6Vjl1S6NU7WUWDdtyI j9q9y0JEHVOWN5UAGZm1Q8U4prjLSpAWZv5fHRxoS2CMEIdL7Xmlo7FVuY9WVy34WQBR Uyay6LsYbfQyaW3SHKwciiKPpd4ApeAkIZIWoEo4QeyT/Fn3lv0xZExVrLUJZBP0zGxl C+dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VLNoF3yabsR2vdbIrvz5ZQp7trjy2rftBz8pJCTD7/I=; b=bd/wTod1FXjKa3oXjdzjIN8wiViBHX6CTSnGOmBMGqgZe0rxu5E6t3fjjMr361G022 kZXqiAWod4WVo6u/9QmHUYVV0D/c8FOz4wjIbnWPptPSGxp3p2PZgUe2x0wUYp+2mpbF opvwmO9JoNYUYvPsxk7dEkyL6eGF5ezbaoIaxJYVuVumY4j8PuebRkeW61BfcPg2q5/A rloyOZkiZPkcE3Q2don9NraISvMVEcpRTLMllU0Fg8R8aZuKBgLQx5d+FpyfGCK8+g2k V11sPTIb/nFPClLuP0RM+wGscSECrvLvSpZe+G0SMkbvEsU+jcvO78Dd8Z5Bon4QwN/S stIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MbYpvg06; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg21-20020a170906f89500b006e897db2df4si1624340ejb.155.2022.04.15.15.01.49; Fri, 15 Apr 2022 15:02:21 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=MbYpvg06; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350596AbiDOGpT (ORCPT + 99 others); Fri, 15 Apr 2022 02:45:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245187AbiDOGpS (ORCPT ); Fri, 15 Apr 2022 02:45:18 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E804AFB10; Thu, 14 Apr 2022 23:42:50 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id t11so13859811eju.13; Thu, 14 Apr 2022 23:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VLNoF3yabsR2vdbIrvz5ZQp7trjy2rftBz8pJCTD7/I=; b=MbYpvg06AwjI69mj6WbULaIcw073cG+ttS9uo5DoZiOQDxWjCFhNSiZIru2IQCjwRE /gRnF98GOp5QyL8o1HYf8P1rwk/Bh/DX1eByGXeIUcH+RoxR80YN7bGEf+RXWbgWLj69 GnxTuiiBJdflKkyMxzIrfT1uwKpffMKgdX5WnUsS7Rc2i2aU7hUONsridAp6XOqskx8l yU+1XPwqPoCoW9Ik3TbXM5h4ZC4tSTcBdR0Mb1Ex+qb92zJu7UkJabAxrlO0tw76zrof UVy+V312oa13SaC2qE8BfQdSQytJYM0jxSNIjfJ6nCrp+IB2LXG2Y32iFIWRsckSnhdJ XARQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VLNoF3yabsR2vdbIrvz5ZQp7trjy2rftBz8pJCTD7/I=; b=eo8DFgAVagnbudTqnjdCOKLGKuoliDRP1ZmqrNmI3WEuGpdjYR8v2icxwWZBEVCX7E ugLs1CNyMxqRY7Pah1fVGmSJB2EQZxQPaDv+IQQ8m7CyvjMVh8sdgx/C4zeCAICIPaaI U2S9FIfI+3pE+HmuFUo6Q+JOtY9UhuWokqMN/Xd91PUHuQUhaySJKBKDk0LP9o2A+Pu2 UQlLG+3OV0kQx0ZQ5yQQVyfb7z3ZvUz+lPfnDmwZZF5LPRaUBJD2ygFiJTsQz5Wndbcx 8jF+HQDfIIfqHWvUl4MxYqRu4vm0fFuppyjBLDhsqCdpmIEfUZigw4Hntub7RoJg1wRF 8xkA== X-Gm-Message-State: AOAM532jRAZa1MiVgyiWMf0KcgegBD5puCQ0ZmNiutaQfuD/DEFMUXmI 47ByN4nnmvh/Q40GzRbiAWs= X-Received: by 2002:a17:906:eb42:b0:6e8:9197:f0e0 with SMTP id mc2-20020a170906eb4200b006e89197f0e0mr5213929ejb.550.1650004968858; Thu, 14 Apr 2022 23:42:48 -0700 (PDT) Received: from anparri (host-79-52-64-69.retail.telecomitalia.it. [79.52.64.69]) by smtp.gmail.com with ESMTPSA id u3-20020a17090657c300b006d01de78926sm1364280ejr.22.2022.04.14.23.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 23:42:48 -0700 (PDT) Date: Fri, 15 Apr 2022 08:42:45 +0200 From: Andrea Parri To: "Michael Kelley (LINUX)" Cc: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Stefano Garzarella , David Miller , Jakub Kicinski , Paolo Abeni , "linux-hyperv@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH 2/6] hv_sock: Copy packets sent by Hyper-V out of the ring buffer Message-ID: <20220415064245.GB2961@anparri> References: <20220413204742.5539-1-parri.andrea@gmail.com> <20220413204742.5539-3-parri.andrea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Fri, Apr 15, 2022 at 03:33:31AM +0000, Michael Kelley (LINUX) wrote: > From: Andrea Parri (Microsoft) Sent: Wednesday, April 13, 2022 1:48 PM > > > > Pointers to VMbus packets sent by Hyper-V are used by the hv_sock driver > > within the gues VM. Hyper-V can send packets with erroneous values or > > s/gues/guest/ Fixed. Thanks, Andrea