Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp271035imn; Wed, 27 Jul 2022 23:20:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vgUZqFteALkEb8kXJW7FvnwkJKyJtIAXI8TS1GmJQy67qTxybF6CpwxqAA02zQXCtsyy3J X-Received: by 2002:a17:902:ab96:b0:16d:7d92:1fd3 with SMTP id f22-20020a170902ab9600b0016d7d921fd3mr16340090plr.120.1658989206086; Wed, 27 Jul 2022 23:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658989206; cv=none; d=google.com; s=arc-20160816; b=zPN+aU7nyXjbNhShN42iFy9iTmmtrdAu+UganFw5X69TDaBJcQ9YEa6UMkM6XomTfN HcL9nGiwdWhwGhA72sFXDTtWyJJK6+Z/n1XlBgNdHeqpCcBPKnoOCHIWxN1vUDveRV4x nwzLqgyLN1NL8txhChZlODD7Ob2S8GDcR4qmyRTSL5nhfo2OBTR/FdgXijlPuz+tb0vt ajji7ByeNwnowJwHqcB58ZWl/p2yzxZ0JYGUpq2AdP4gVwkK/uAbunGlCePHrWdDBOIz aTmnpgiG1X2HkhyQzWil+tlh39+lx6HK+Oex4ja/QTNfbegGjou6bb2kxT+84vIHy2gR O09Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Alr7o2wmSsOVNbM/q3uZW6qh8Ao/pVeJYTUnfYZZOug=; b=M3d6T7goR1IxlZvsX07uBedjp8HT2IMTBKI/dPIjjyVslWgFVNRp6KWzByoMSe54Ig zf/LQtNmdzNRC5Bo5Mme9rZ3qgjnlQjvI605+vc8qm3LbDpzzLhxXbtMFAV3zUuTsKJr VjClXSJ90xdv2KAnPc9ZsjtdqQzag/pQjNISpcYmp5Hpu8tpSYlNFm2ExyvQydzy1Vb8 BpNjGDP/kFMEV+wInnd0WhwE//rJzOKrbujM+PtF0kRUBaYdMVLXyBl1eSbnG4WvnaMh 8HXG2wRe042TbTOWRbFC3l2EjrlkIwGToU0gwDMuhCTZ6hoXchIhgTHSdDhtw1qCQ6mF ST2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b="mY//SHPW"; 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=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h14-20020a170902f70e00b0016d47244b85si161164plo.327.2022.07.27.23.19.51; Wed, 27 Jul 2022 23:20:06 -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=@sberdevices.ru header.s=mail header.b="mY//SHPW"; 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=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbiG1GHF (ORCPT + 99 others); Thu, 28 Jul 2022 02:07:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbiG1GHE (ORCPT ); Thu, 28 Jul 2022 02:07:04 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E5945C9E7; Wed, 27 Jul 2022 23:07:02 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id E265A5FD0D; Thu, 28 Jul 2022 09:07:00 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1658988420; bh=Alr7o2wmSsOVNbM/q3uZW6qh8Ao/pVeJYTUnfYZZOug=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=mY//SHPW3o/wyyVQS1x/3MkcqOeFm/KBbYNfgeCxtqbwQWe+0hKVZF5RdFTh6Mds1 QdsVJnImqaF8Om1fMEqtQwztOD/x/wFHO/k1UC97Y6TQJ+PIv7ggGP0oJbQm9z/Rzo m0E8HQyTKYmXfyWp9ItgIM0hQRWtBIUrgRihnmO76t78oKn4PNtPoC/3rfkfk2oJbq yKENztwqbngJjMYy/XGQoTDluENnC9p5zcjfxxtJfAnTjbgE6PWgS3a41OsJv7USI9 Rr3KbT4hW7ChrLPHIDZUZOaDn/b8JKxhEO+rnOBP7rxyonvNxOwMwqjSwBmkfgZy+l S1gtyeYU4qRbQ== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mail.sberdevices.ru (Postfix) with ESMTP; Thu, 28 Jul 2022 09:07:00 +0300 (MSK) From: Arseniy Krasnov To: Stefano Garzarella CC: "David S. Miller" , "edumazet@google.com" , Jakub Kicinski , Paolo Abeni , "kys@microsoft.com" , "haiyangz@microsoft.com" , "sthemmin@microsoft.com" , "wei.liu@kernel.org" , "Dexuan Cui" , Stefan Hajnoczi , "Krasnov Arseniy" , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "kvm@vger.kernel.org" , kernel Subject: Re: [RFC PATCH v2 5/9] vsock: SO_RCVLOWAT transport set callback Thread-Topic: [RFC PATCH v2 5/9] vsock: SO_RCVLOWAT transport set callback Thread-Index: AQHYn/1NoPOM/Um+pUC5XxeDqd2x/62R9U+AgAEo6oA= Date: Thu, 28 Jul 2022 06:06:41 +0000 Message-ID: <8be16ad6-9758-a0f2-63a9-c9cbd2b3449b@sberdevices.ru> References: <19e25833-5f5c-f9b9-ac0f-1945ea17638d@sberdevices.ru> <8baa2e3a-af6b-c0fe-9bfb-7cf89506474a@sberdevices.ru> <20220727122417.jvdfjnuybk3mwxkq@sgarzare-redhat> In-Reply-To: <20220727122417.jvdfjnuybk3mwxkq@sgarzare-redhat> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.12] Content-Type: text/plain; charset="utf-8" Content-ID: <73B7ECEC81AD0748BB248366FC90661D@sberdevices.ru> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2022/07/28 02:09:00 #19985101 X-KSMG-AntiVirus-Status: Clean, skipped 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_PASS 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 T24gMjcuMDcuMjAyMiAxNToyNCwgU3RlZmFubyBHYXJ6YXJlbGxhIHdyb3RlOg0KPiBPbiBNb24s IEp1bCAyNSwgMjAyMiBhdCAwODowNToyOEFNICswMDAwLCBBcnNlbml5IEtyYXNub3Ygd3JvdGU6 DQo+PiBUaGlzIGFkZHMgdHJhbnNwb3J0IHNwZWNpZmljIGNhbGxiYWNrIGZvciBTT19S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