Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1216528rwb; Thu, 18 Aug 2022 22:34:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR7luvLyZPPCjkyizP+TUtvZ6MUhQq2CaqsWlOfVVnea8CiCMUbmoxjmY5dV4+r0bYPWFG55 X-Received: by 2002:a17:90a:bb15:b0:1f2:2a7d:7e05 with SMTP id u21-20020a17090abb1500b001f22a7d7e05mr6693674pjr.70.1660887262834; Thu, 18 Aug 2022 22:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660887262; cv=none; d=google.com; s=arc-20160816; b=Ji4+gCA29JtS0Gw0oTMVJBeErjImNZinU32jlD3Qai8TrgBew+E+RGxKfS26UhTv8A MLceGJYFecP71WqkLt9tXxkq/FC6BsRxO1L/L5Z61XAc0/2mfq0zeVrUqOFxruGusA5/ ZZOztTGFbkiGZKA0t19sHpOWVECr01Ki+a1hq8vkTrqp7wdhAi9yYwnWx5E2CuH0wwju O/x81ZpY9oOOxPBdPOB8o4nClnox3bhVd3o1zipoYKUuWSpO9YAgVfViJWcMhWaCpXHU qKQI1EfVBJ5Pa+Ta68Or3mVMlpVvaLxlgOw99gt63fbb6Jsq2cYK2fSZVMHifBFCYqkI DWyQ== 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=MffpD9Q67yZWb6PgCIyam3kH6wvkxNCaMLYOrl7CGq8=; b=Z97Jy1Tcv8QuZyQU/7JL9uPxDS95aUHh6rd92oOKGRh+Wcd+xILEWMB2aRjHfi4SsG dN8iXcjbv3FeSht7Kajf+J3ipCDRhGzpi3EV2VsG3IfUi5S0lg4QGcljFhhG4TCtu97K 8AeO+yLf0ptUl3cNXsHoitZkFgREIGcsMd82TQpPK1BSM4BjR1JgcSiE36m2u7H4cwMT 3BCKwS7DNWA8328RXWnBr9Twyiwv6Z7u/SOAO+chnJroTPHxqBbgYs1dR14H0rfjC1Ga 76u+NHlqtfbZQy+CQciPQikFF25B5pJmbAZfudXoznZyi5ctIk5/0Y4J9S+I28xD7jSu KHNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=mme8nP1o; 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 y14-20020a655b4e000000b00415ea6aca03si3319292pgr.547.2022.08.18.22.34.11; Thu, 18 Aug 2022 22:34:22 -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=mme8nP1o; 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 S1345200AbiHSFcP (ORCPT + 99 others); Fri, 19 Aug 2022 01:32:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245231AbiHSFcN (ORCPT ); Fri, 19 Aug 2022 01:32:13 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A4D7E0975; Thu, 18 Aug 2022 22:32:11 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id A94B95FD07; Fri, 19 Aug 2022 08:32:09 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1660887129; bh=MffpD9Q67yZWb6PgCIyam3kH6wvkxNCaMLYOrl7CGq8=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=mme8nP1o+/ascBxNJ4jhAn7Fj39ob5cI+lmJKiVV9jcbIL98MV2Px4GBdTCY2EByt n1wDJ4JVzE5yoDycecadk23+nN5TcXy8+MK9q5ER47YuL4YJqvVydRa1wqNXRy54JN jUcejNF0+uB7Gli2t6CcuV/QxnugvhPH8f7reOVjH35xHLAPBG3Y898HBs+OU7ipnh uTR3h2RcS7NkbU/QQ+OivHQx+uj7auWmMpBjaDBtEY8fNv4dqVUgsYxHEm6MTwYxRU jqQCGNhiv/WiThnFH+pc+mSWFu9aVApHflYqeNFEqiarkQK5povwnTQu7m4L/lzqsG duHFfGEzeUTUg== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mail.sberdevices.ru (Postfix) with ESMTP; Fri, 19 Aug 2022 08:32:08 +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 4/9] vmci/vsock: use 'target' in notify_poll_in callback Thread-Topic: [PATCH net-next v4 4/9] vmci/vsock: use 'target' in notify_poll_in callback Thread-Index: AQHYs4z3iUPUdUWzCECKsbhSpky0eg== Date: Fri, 19 Aug 2022 05:31:43 +0000 Message-ID: <804cdfe1-44c7-33f8-3cc6-49107d1b6998@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: <22CE547177774447B03005A61D2A48FE@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/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 VGhpcyBjYWxsYmFjayBjb250cm9scyBzZXR0aW5nIG9mIFBPTExJTiwgUE9MTFJETk9STSBvdXRw dXQgYml0cyBvZiBwb2xsKCkNCnN5c2NhbGwsIGJ1dCBpbiBzb21lIGNhc2VzLCBpdCBpcyBpbmNv cnJlY3RseSB0byBzZXQgaXQsIHdoZW4gc29ja2V0IGhhcw0KYXQgbGVhc3QgMSBieXRlcyBvZiBh dmFpbGFibGUgZGF0YS4gVXNlICd0YXJnZXQnIHdoaWNoIGlzIGFscmVhZHkgZXhpc3RzLg0KDQpT aWduZWQtb2ZmLWJ5OiBBcnNlb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