Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1237282rwb; Thu, 18 Aug 2022 23:09:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR4byZicM/Znx4E5Stjt6ig0Yexzdl8Z7nls/9rC/JmcqwiFZ28wtq6QF6GrY+lIMneT2iGb X-Received: by 2002:a05:6a00:e85:b0:52b:5db8:f3df with SMTP id bo5-20020a056a000e8500b0052b5db8f3dfmr6362785pfb.14.1660889340856; Thu, 18 Aug 2022 23:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660889340; cv=none; d=google.com; s=arc-20160816; b=NJlq8pMVFxhAMiYeCLD9YHtRKDDr/rzjQBj95x1TA2YxRVxTc5yr1O42TTxP3XnjG/ j0vV2osdD1CciIp+rnXmyhvg6Nga5msz7cFIX6RIYe9w97+9Dn1xxshbl1TeZ6UjAa4e ohkh8J8ndxxd8dAI+RmOJ2tH/lS+AuSOyjtoDpv7tQVJu2rd+IZ4gvC4IvUblBiIuRsL 3Pbposw9WWInns4SBRQjODLWpcBx4ouquBL9nL+NLhWXG77d8ijH72pWfJ2ngzN3S2DC 8N22RTTawcg22SPzeQHc/a23R+dToDnMWd5Nk13X4Ky12w31gJFKshiLiM8sb2eSMLUp HO3A== 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:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=R79+XidUY9g0x8il8JzWOIn3o41h8mogyFPGT9KZ2dk=; b=JOL5yNSBPeSH/X4/WACHvHQe71/9mtGE3jBUcIbZBR5N/WT/Ft0gXhqIicu1XcdEM4 RCRXoZl6abamUyNeHWa274/4YTV015BwPvId+QFTgpndxUNKP6vy44rNxS7BzrEdBxKZ YHqmlIj/te6+VXBVtw80+cIFQdGy1brdjfFZGiUD5dMyPb5HdzFJFsC/Gx6Opv6d6P1G juhpK9URlysKu0uRSRcQGhP20Uhbi4M0/fz1O32N6BM8KlHqIwQnNyBKv4hhm2VstB0L DioE1MiflrGJTMo1gkjJgMUV/ADf/hjsMC8A86CpNiu3680XsmTOks0V/aTwL442vdTq WiNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=DYgOFWe4; 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 e13-20020a17090a9a8d00b001fac963dad2si3310424pjp.159.2022.08.18.23.08.50; Thu, 18 Aug 2022 23:09:00 -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=DYgOFWe4; 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 S238548AbiHSFj4 (ORCPT + 99 others); Fri, 19 Aug 2022 01:39:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241985AbiHSFjy (ORCPT ); Fri, 19 Aug 2022 01:39:54 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BA19BFABC; Thu, 18 Aug 2022 22:39:53 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id 4E9FF5FD07; Fri, 19 Aug 2022 08:39:51 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1660887591; bh=R79+XidUY9g0x8il8JzWOIn3o41h8mogyFPGT9KZ2dk=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=DYgOFWe4A013wRMQmmiUgKTPVk1OGKBNjIEvLrykzGdIb5nAP3Z8VqRWZnOoiVIgB 9INu0/yWirCu8ghVn/IgO5zit4HCIxgYVYLJ4k6RQR6I9boWLMzMusSnlYMIoJ2Ahs AUZDAUS62kCSCE5Orz6hNeabMd64uJQYSwdfEIGD44SAzRFDZcyhi5pnv1l5rg2av1 hoNoGoRwh/EjL167FkvpnQYruswjjy/Z6U8mxsKJJDuEqXr9gOKdrLH5ewf3fbtK0c Ilk0SxYTNvoy+HS0bQmJp5DKp8KNO6Ju+MZ+C72kZDDnQdpGTJdJbNnGYUr5HHQ6i6 PwPAkOOj40zbg== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mail.sberdevices.ru (Postfix) with ESMTP; Fri, 19 Aug 2022 08:39:50 +0300 (MSK) From: Arseniy Krasnov To: Stefano Garzarella , "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 , Bryan Tan , Vishnu Dasa , Krasnov Arseniy , "Michael S. Tsirkin" CC: "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "kvm@vger.kernel.org" , kernel , VMware PV-Drivers Reviewers Subject: [PATCH net-next v4 7/9] virtio/vsock: check SO_RCVLOWAT before wake up reader Thread-Topic: [PATCH net-next v4 7/9] virtio/vsock: check SO_RCVLOWAT before wake up reader Thread-Index: AQHYs44KDFwnsmWHL0COnLpDuJnm+Q== Date: Fri, 19 Aug 2022 05:39:24 +0000 Message-ID: <696d5dfb-92a6-cd06-60d0-d9c953774226@sberdevices.ru> In-Reply-To: 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: 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/08/19 00:26:00 #20118704 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, 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 VGhpcyBhZGRzIGV4dHJhIGNvbmRpdGlvbiB0byB3YWtlIHVwIGRhdGEgcmVhZGVyOiBkbyBpdCBv bmx5IHdoZW4gbnVtYmVyDQpvZiByZWFkYWJsZSBieXRlcyA+PSBTT19SQ1ZMT1dBVC4gT3RoZXJ3 aXNlLCB0aGVyZSBpcyBubyBzZW5zZSB0byBraWNrDQp1c2VyLGJlY2F1c2UgaXQgd2lsbCB3YWl0 IHVudGlsIFNPX1JDVkxPV0FUIGJ5dGVzIHdpbGwgYmUgZGVxdWV1ZWQuIFRoaXMNCmNoZWNrIGlz IHBlcmZvcm1lZCBpbiB2c29ja19kYXRhX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