Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp165262rwe; Fri, 26 Aug 2022 02:49:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR4a6E8AQrl3fLaAlJmUR8T1XoNrs/0YbQrFSx/oF4Q311KtyY8i7x6H9vWKobIVCJfmyThJ X-Received: by 2002:a65:4848:0:b0:3fc:52c3:6ca5 with SMTP id i8-20020a654848000000b003fc52c36ca5mr2605051pgs.264.1661507390668; Fri, 26 Aug 2022 02:49:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661507390; cv=pass; d=google.com; s=arc-20160816; b=yUjuO6YXbHoJIEC3PQQ0LxChB+iY7QGFb60gVWt6BvyQoCUKeW6NAIfQSqW2wGWV4Y iv+BEFt8A5bvZYAvCCz99N0ulSc3GDcfALEGRlNCJGvp0VBH8Rqw/5NJIfSWon6RaRsm wiYnfHduQ8jhAVYAu/oM59HNJpKzFr7XKwTKDwSaApXcxUHcmJbNkJPZr9A+k3nV3kvb zeHKxEYxFPN65vgh0uBwpysge6Jbd0LOX/3/7VxZYWV1YEXLBA2nzsARGCU8IounQpjO 7TZLtNc6AB4/9Ppgc2/jGwY/XTBQb36BAeQP/fzIuBltf9gQ2fiQc/z04JCHPp0bgfKR m41g== ARC-Message-Signature: i=2; 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=7+v6F7o1w8tZ0293ls0TtvsGKk5yh5v4EQ8kxpZt+3E=; b=Hv8xhuaOotTndx+7gV8Yath8VV/nd0Ta+RdwAVLnhFO7k12nMboj6dYktcpZzy/Gmo WSvapdUirDX7JmEbmjaSIPemGdCLkDztLm+Nst7w0J6QNskAWtXTpHmvA18PAwsYYsbC 2Gv4PxKPrL3fT/iniQMAZEdA92xu+McbDInWJW7udUUfd1sYETUKL/dwPhcbGLF7ccgr Lydn8kd8+4LRRr6gYkrZiIJrzV00XR/LCUbHeu0FRcGWpKkzV1sTBuBr1AafXENYV1yI qP6UR52AGAdPCon4G2Ugo/GhHVBKnYpwPagI3+vpmS1ObVMQwfx81Q9VvUAyUxpjsp9n ZkqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@epam.com header.s=selector2 header.b=WbXT9htn; arc=pass (i=1 spf=pass spfdomain=epam.com dkim=pass dkdomain=epam.com dmarc=pass fromdomain=epam.com); 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=epam.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j74-20020a636e4d000000b0042ae3d2c134si1450500pgc.129.2022.08.26.02.49.36; Fri, 26 Aug 2022 02:49:50 -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=@epam.com header.s=selector2 header.b=WbXT9htn; arc=pass (i=1 spf=pass spfdomain=epam.com dkim=pass dkdomain=epam.com dmarc=pass fromdomain=epam.com); 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=epam.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245417AbiHZJI7 (ORCPT + 99 others); Fri, 26 Aug 2022 05:08:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236831AbiHZJI5 (ORCPT ); Fri, 26 Aug 2022 05:08:57 -0400 Received: from mx0a-0039f301.pphosted.com (mx0a-0039f301.pphosted.com [148.163.133.242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D5F6D5EBF; Fri, 26 Aug 2022 02:08:54 -0700 (PDT) Received: from pps.filterd (m0174677.ppops.net [127.0.0.1]) by mx0a-0039f301.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27Q7vUbP014249; Fri, 26 Aug 2022 09:08:16 GMT Received: from eur04-he1-obe.outbound.protection.outlook.com (mail-he1eur04lp2057.outbound.protection.outlook.com [104.47.13.57]) by mx0a-0039f301.pphosted.com (PPS) with ESMTPS id 3j6d18t84y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Aug 2022 09:08:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q+lBCX+K76r1gj86Vxv9aUPG8VBISZ/RzKFvyxC3QLYduO8chi4K+qmq56zBuUdcvTOn0yEshfYQMJlT/S/hcneR/L967mJ7pyB3h3dltAF34t5C4SB8qENfo3SyQ1ky4oAsE/an+qBF4imSyhK9IHwrmOdLfbnAWOere6VB0gYTu66eaZqcUiCRseRqjZJfFXw3PrEPG2PaRP+EX4ccl3zC/qJ9Gd5nuSh9Vx/hpO3Aj+KpSvjLwZXBHH5mhPohJrDuWZPmMpuGCLqH7bxidwTW3x45rr5F1TXI8T5H4AI+S++tt30uX5pDq7YYCRIBVUI661xKCjB6YCqi1IqjRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7+v6F7o1w8tZ0293ls0TtvsGKk5yh5v4EQ8kxpZt+3E=; b=TdUO1D89CxRp/Yj1K+awk1tqYFL0KciHAvr90K3Z7DGAEXfKBcKiNIOk/YgSri2CkKKWxiQWX96ENyfOZvBP/Xy4mMEWTFMnQiwQupCj12ag8nhSEzq1bWo5SqVuV3sbtH6mk7T5bDxPUtj2coCQwkYSQT0FY/kBmoRz+DE3WHwCOCVDX9fMk6dCgWZEE5mhTDikh8RoD73xb332fVc5K72eYMnLdy2xYfwxZWqulg+AKqCyflAaB0I5/+wvsrO95TlUCYVw431nVdrM9MunObxaLbLf1wMaQJvsJEluKZ8nTsa8xJ3znCZEWIW8Yd++2x/68gE0GRoICeeWXKkLXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7+v6F7o1w8tZ0293ls0TtvsGKk5yh5v4EQ8kxpZt+3E=; b=WbXT9htnImU64tvevHo9IQ4d0p0EEti12GwKCqP/FQkuqu4DK8/0RpDNLz9x7D7OanIcn7IhunGa9BHthViggmYJtHG4/JhKqlOU7iPSC7zWu78d1rDHDtYSwMrFenl1SzN3dOGof/ikJzt8gt92AI2Fbnj6549g0ANSVXiJlcdc+PpKgLBgZezRJzQuemP5pdAvDXWBZW/ZLzjGnYXE9OjOcYYieL6d3RnCS6IjDyqBLUMMwjvDDRhV9naJ3HACTAIeqRgFbctyTxfTXR0fGu9/Apluez+DrrLEbGqDYRnCIcwaCNTGCjOeGArDmYlYn++LylZ8IhqDpGOdD/H51w== Received: from DB8PR03MB6108.eurprd03.prod.outlook.com (2603:10a6:10:ed::15) by AM6PR03MB4167.eurprd03.prod.outlook.com (2603:10a6:20b:c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Fri, 26 Aug 2022 09:08:12 +0000 Received: from DB8PR03MB6108.eurprd03.prod.outlook.com ([fe80::f575:76e9:4a40:7387]) by DB8PR03MB6108.eurprd03.prod.outlook.com ([fe80::f575:76e9:4a40:7387%2]) with mapi id 15.20.5566.015; Fri, 26 Aug 2022 09:08:11 +0000 From: Oleksandr Tyshchenko To: Juergen Gross , "xen-devel@lists.xenproject.org" , "linux-kernel@vger.kernel.org" CC: Stefano Stabellini , "stable@vger.kernel.org" , Rustam Subkhankulov Subject: Re: [PATCH v4] xen/privcmd: fix error exit of privcmd_ioctl_dm_op() Thread-Topic: [PATCH v4] xen/privcmd: fix error exit of privcmd_ioctl_dm_op() Thread-Index: AQHYuI2vvcV5ZmaCZ02coOJc6eyXM63A5Z4A Date: Fri, 26 Aug 2022 09:08:11 +0000 Message-ID: <5e749d5e-08d9-81c9-0f46-a06be2d752ce@epam.com> References: <20220825141918.3581-1-jgross@suse.com> In-Reply-To: <20220825141918.3581-1-jgross@suse.com> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 46d43a07-18b9-4e19-ebec-08da87428034 x-ms-traffictypediagnostic: AM6PR03MB4167:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WGmNOb1e8MXpgZnLPHIKXD5XCv83b2nZwvbcvnjLp4v0m/w5bOxtKg63UFTXjx+AQsWtud6rIvOPjZTIXkwpA2+5SL0o+ri2dhfwmPMpgaxIdflIeS2A8O3JRQAULx4Tx1ZhJbnci7fOYrkiKcbs+YUdLlf4yeOYRhIdlS1Kmv7sdncDSfth9HPWssUO0u8qcmTzlMhaZSfId2GrNd/9GKiJmrdaIJRKcDjNtL1wQBqiU8fRgcwbEefSIbIxJAxdDs3JZiUrdOIrUB2hmW63aNu0wSl+0iG9pbQ57WIaYqq5MRBuQX138H2hL29BVLhSTJnPl3rV2yftoESUtZWJm8//gNFcFq/p3vxUXFyU6Un1dDn5KSYZvaOCWO1qR2Sbr5/8v0xK/ELqvgZycwoTg4RHKM9f4moWSweoNPONK+5O8WwYlQd/ZzPVD5Y/lL/rN3+cPjZsshPxCquY0W9Ry8RemplFvrbc5BysxYpubaY+yTabUjBSVaZAGK2FFTUVFKhdpYVrLKmaaH9dForAhVrye0BeTpwjdQy0yrBsiZ4FGPpJmHlYhRWm1ItXtZbsUQYgntkS+6HmaWdc/16e3t1R1/REk2p1/E/QblFwx/y6ToDIDw6+h89GgoTuW966MfsIPOCWlNW/zKnv7rnfeQO5DDCVY2VU+ETqNAgQABSr3M1djh+NaVivz4PQlxivsHiatCZSpMu6W9Epdb3B/dtYVT0JEJxeyKpvFopPu3BNovhA3tfXdKzYjJpzBI48C5fTYIZw29m4gVKTNOrJ2amUgmIPtbbrazePlo+gY/0= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR03MB6108.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(346002)(39860400002)(366004)(396003)(376002)(5660300002)(66556008)(66946007)(66446008)(31686004)(316002)(66476007)(38100700002)(110136005)(122000001)(4326008)(91956017)(8676002)(64756008)(71200400001)(76116006)(41300700001)(478600001)(54906003)(8936002)(6486002)(36756003)(26005)(2616005)(31696002)(55236004)(2906002)(6506007)(186003)(6512007)(53546011)(83380400001)(38070700005)(86362001)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dlNrbllMVzVIOXpTTUZaWlJjSkU4ZFo2RHdEcWV5eTFoazE1VWpVNTRqT2Q2?= =?utf-8?B?MGhwOWI4L2tZS25uaVA2NVNWc0hpOVNVUzdkYldWSnYvQXZZb1JUQkYrNFBz?= =?utf-8?B?anFrcldlOUU2U1NIcUpqNklWY0FLRFc4SlFKa3pPbmg3dkZJWXhUb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Iyb1YzR3lVR3N5RUxud3BHdGgvbm1Id1RjbnE0eG9KcHBvUDRK?= =?utf-8?B?YmtFbU80bTFiUHAyMXc4ZmlOQzNBb0VGb1kzMXZKSEhDeHlxYjlXMXBkT0ZC?= =?utf-8?B?cDNvTVozcWVXd0l3Q3BkdjVwaERtaHFSNllZa29zUmVqZWFnZFp2eDVXUWln?= =?utf-8?B?YTJXR0x4aXZVdG5kYy9rVUhKYTl5ZUUrTHFhcXI0K0RzdGtWaHdudXVJcm5a?= =?utf-8?Q?/+v6+yvqbbqDlVe+tPTq6Bo=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <34495C8E6CAF4748A67A82ED599BA9FA@eurprd03.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB8PR03MB6108.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46d43a07-18b9-4e19-ebec-08da87428034 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2022 09:08:11.4733 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YKBeVOt41cUJofHr0TpryZQJ/7jQjOwhnIa7TbSHZQafVobbg1NmgOlfZyHjW95fBMeLwrDYr0hTlF09/jNCGjm6ugD2BkUCMi5aDUXL2yo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB4167 X-Proofpoint-GUID: IAEABwg7PFarVHJLh8kgXK89RxMT2wzU X-Proofpoint-ORIG-GUID: IAEABwg7PFarVHJLh8kgXK89RxMT2wzU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-26_04,2022-08-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 spamscore=0 mlxlogscore=999 phishscore=0 adultscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 bulkscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208260035 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_NONE, 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 DQpPbiAyNS4wOC4yMiAxNzoxOSwgSnVlcmdlbiBHcm9zcyB3cm90ZToNCg0KSGVsbG8gSnVlcmdl bg0KDQo+IFRoZSBlcnJvciBleGl0IG9mIHByaXZjbWRfaW9jdGxfZG1fb3AoKSBpcyBjYWxsaW5n IHVubG9ja19wYWdlcygpDQo+IHBvdGVudGlhbGx5IHdpdGggcGFnZXMgYmVpbmcgTlVMTCwgbGVh ZGluZyB0byBhIE5VTEwgZGVyZWZlcmVuY2UuDQo+DQo+IEFkZGl0aW9uYWxseSBsb2NrX3BhZ2Vz KCkgZG9lc24ndCBjaGVjayBmb3IgcGluX3VzZXJfcGFnZXNfZmFzdCgpDQo+IGhhdmluZyBiZWVu IGNvbXBsZXRlbHkgc3VjY2Vzc2Z1bCwgcmVzdWx0aW5nIGluIHBvdGVudGlhbGx5IG5vdA0KPiBs b2NraW5nIGFsbCBwYWdlcyBpbnRvIG1lbW9yeS4gVGhpcyBjb3VsZCByZXN1bHQgaW4gc3BvcmFk aWMgZmFpbHVyZXMNCj4gd2hlbiB1c2luZyB0aGUgcmVsYXRlZCBtZW1vcnkgaW4gdXNlciBtb2Rl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