Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp368281imn; Wed, 3 Aug 2022 07:19:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sI4zB9HnUFW3HoZjdc09PovVdLrsKBgG7beBvxp2HJhOtc/ey9aNf9sW49/Bx7gAhu5/UL X-Received: by 2002:a63:5541:0:b0:419:6d07:635d with SMTP id f1-20020a635541000000b004196d07635dmr21467427pgm.19.1659536372180; Wed, 03 Aug 2022 07:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659536372; cv=none; d=google.com; s=arc-20160816; b=pnl+BNFff8POZcGzrrIQljBguPe+nOMDpAdpozP664kUxdMwEqfcBQCfNHgwdmp7YV lWAx9ixVlJRX5bAzgm4loryAM45tkAM502e/cEjDmLrYvTebJGJyciIAdrN8pnxtosFw XUxUPpWx1ArUXud4ztSfsHlO4s2WhoHlBfZDwX/ElKe/zZyn7UwCl1Rbyvc4+rPvIL4S T7l2FKxY+u9U/bU49dUe/RIEo/ENQnoFsGUNxQBQzunmq9FiFk94YoYpLAo3xl8LrwO3 KOyI9qvbJJMLRtXhIeYz4qABBotY/COAZRe4pdZpL8jgMnCHaiNKYyNCZVD7bERvdu8Q f8wg== 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=J9ER1HEmraVRx9h4m7Z/Hk7Bb9oPnBAWW3L1QrdyfYY=; b=NrK1qQkF6DlzZsERtlow1cCmzsnXAPh0mt5mrbGe2jJ/DCQDyEO06K3qhFJKrUBHZm 3L6XKE50vBbNjXUWWJhkvEbylckTgm1z8hXEkFuQnPYINoWAQsEQk9eEP7Hqf63lQSoE eGTv4hUzCbOiqDtYUxNX7ADIUzgbmbJb0OuM1OeDaHLTkpX8Qx/EifzbfPzkDl6VBEzE LriHMNnR9FoNud7i1rPmuUNcFNrgrBB/CCr1TUqc2F36qO7e8lfhl1ofS7i9rTqMd+xa wiZAkyHSYY5Xb7f5JSEtJ1qgFrSPhQlps6hLq+fDYBiW04usERmos4RfXG2LJiw/zSXi 7zJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b="kn/GaERL"; 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 r8-20020a63fc48000000b0041a625ed1aesi18190608pgk.306.2022.08.03.07.19.16; Wed, 03 Aug 2022 07:19:32 -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="kn/GaERL"; 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 S238280AbiHCN6Q (ORCPT + 99 others); Wed, 3 Aug 2022 09:58:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238326AbiHCN6N (ORCPT ); Wed, 3 Aug 2022 09:58:13 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D106DF46; Wed, 3 Aug 2022 06:58:10 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id 677FC5FD2E; Wed, 3 Aug 2022 16:58:08 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1659535088; bh=J9ER1HEmraVRx9h4m7Z/Hk7Bb9oPnBAWW3L1QrdyfYY=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=kn/GaERL4M8G6sFAX1LPUGgkXbjOoyQU8UQX5Ai8IreW1Sv3Am839Z1n39MG0xaG5 Wd4/t6EICVjXSsadyhFlvpdRfh7gkepaUVSGgbRxOkapjcfb8HrbCEveaW4LQKIXax IrZpbzJC7MIC1h1UfmM0n3BjH8ZaT63g+Z+WZaxbn0ECVrmqaw1KTDnzd9AsG21+R1 5QJZq9EYtt0cBrQQD6KwfIG3Fk+fRXGKMBsNpI0tuLg45Txb4UJd5VLUeIVM8VP8L/ psxM3bIE1D2Yn5qLg3SM4xs3Sjvk+03ajg9lH4NaG0blyTP12E0SFtUC0jhcVmnsRI an/c2LSRKkTeA== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mail.sberdevices.ru (Postfix) with ESMTP; Wed, 3 Aug 2022 16:58:07 +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 , VMware PV-Drivers Reviewers , Krasnov Arseniy , "Arseniy Krasnov" 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 Subject: [RFC PATCH v3 4/9] vmci/vsock: use 'target' in notify_poll_in callback Thread-Topic: [RFC PATCH v3 4/9] vmci/vsock: use 'target' in notify_poll_in callback Thread-Index: AQHYp0EHffgjd/zij0eqhutm7RAwxw== Date: Wed, 3 Aug 2022 13:57:54 +0000 Message-ID: <2e420c8e-9550-c8c5-588f-e13b79a057ff@sberdevices.ru> In-Reply-To: <2ac35e2c-26a8-6f6d-2236-c4692600db9e@sberdevices.ru> 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/03 07:41:00 #20041172 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 VGhpcyBjYWxsYmFjayBjb250cm9scyBzZXR0aW5nIG9mIFBPTExJTixQT0xMUkROT1JNIG91dHB1 dCBiaXRzIG9mIHBvbGwoKQ0Kc3lzY2FsbCxidXQgaW4gc29tZSBjYXNlcyxpdCBpcyBpbmNvcnJl Y3RseSB0byBzZXQgaXQsIHdoZW4gc29ja2V0IGhhcw0KYXQgbGVhc3QgMSBieXRlcyBvZiBhdmFp bGFibGUgZGF0YS4gVXNlICd0YXJnZXQnIHdoaWNoIGlzIGFscmVhZHkgZXhpc3RzDQphbmQgZXF1 YWwgdG8gc2tfcmN2bG93YXQgaW4gdGhpcy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