Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5078662pxj; Wed, 9 Jun 2021 08:40:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQPanRFeBKEUfnn7GSM2Jx7RrKpHXgLHpPB50It4ZVIKl7EpR6NJYSgAzxN63U2qsCHNaA X-Received: by 2002:a05:6402:42d2:: with SMTP id i18mr84161edc.168.1623253238646; Wed, 09 Jun 2021 08:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623253238; cv=none; d=google.com; s=arc-20160816; b=WAquySaU7QwKj959JYSLNDaZMcHbrVol8BlSH/UpYD5dDvjgxM7FQlF5MXKmJNaf0M DJl61lKdUm4eCG7ZG5vmrWPVbynwi7B8uBIYVlFAZ9tW7jRJKhQvz7RMAHzQ4xktOkv9 pbPvv49f4UuJyLHPFYxlTyxVRBbybNoO3u+/CnLI92yzHf9qXzTTmraAclAfvXoz23Wd c4gOOBv7VQjgmdT/be8ifAZ9jVuWMoDEKswfAv9GP++2yEHYLMG4xg/1JRwiApaEUDjo 1gPf7A8PApGzbxyHo2lLls5lkMokMvGXEkP3kFDkEw+U3aPzmESuOPNW+BRAmpJ4KCdl K0Vw== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=FXyAfCOSjBFethPdhmC1x7ea9K3jILtODkY2arLUQss=; b=mtTCa7FJGAHbddsGMkWW1uPmkaqPnxz3n7qrcqkjGfxiGUsMVCCzWcqTWPDhc5K+eD 12SITDXtn/kir/bQnhguFckPaMcjW4sftzSKZmDHOvj9U67Mcj3i7bl19plR9g+JBuJl DGu5JpMM9hZ+5vxmvF1bY3WrnNdrB6gLRFNNne2XwzN6zr89Yd5j99rhdsEZjuhiFcPR 9CZu22rui2p1kWuOdGFxvAAtZ5vpo7P0k5Tw5sqeECMy5ygTXQ5U6zJKTZifPIV0gCvi PCUQjF/tf2NJfijZBh4DJNWJ11Zi/WtP9WvNczMUTiBjIluwZ9ZCASvPKOyeiNmhI733 adGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lu6si103442ejb.547.2021.06.09.08.40.14; Wed, 09 Jun 2021 08:40:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238008AbhFIOZM (ORCPT + 99 others); Wed, 9 Jun 2021 10:25:12 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:3815 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237850AbhFIOYy (ORCPT ); Wed, 9 Jun 2021 10:24:54 -0400 Received: from nkgeml705-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G0Tj80MPxzWsTw; Wed, 9 Jun 2021 22:18:04 +0800 (CST) Received: from nkgeml706-chm.china.huawei.com (10.98.57.153) by nkgeml705-chm.china.huawei.com (10.98.57.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 22:22:56 +0800 Received: from nkgeml706-chm.china.huawei.com ([10.98.57.153]) by nkgeml706-chm.china.huawei.com ([10.98.57.153]) with mapi id 15.01.2176.012; Wed, 9 Jun 2021 22:22:56 +0800 From: "Zhangjiantao (Kirin, nanjing)" To: "Xuetao (kirin)" , "mathias.nyman@intel.com" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: "chenyu (U)" , Caiyadong , xuhaiyang Subject: [PATCH] xhci: solve a double free problem while doing s4 Thread-Topic: [PATCH] xhci: solve a double free problem while doing s4 Thread-Index: AQHXXTD5CgkqbtPEIEyqX6Nz35qOtasLuySA Date: Wed, 9 Jun 2021 14:22:55 +0000 Message-ID: <1428e2d7b7b74fccb3493384f96c521a@huawei.com> References: <1623244292-108534-1-git-send-email-xuetao09@huawei.com> In-Reply-To: <1623244292-108534-1-git-send-email-xuetao09@huawei.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.136.108.160] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org d2hlbiBzeXN0ZW0gaXMgZG9pbmcgczQsIHRoZSBwcm9jZXNzIG9mIHhoY2lfcmVzdW1lIG1heSBi ZSBhcyBiZWxvdzoNCjHjgIF4aGNpX21lbV9jbGVhbnVwDQoy44CBeGhjaV9pbml0LT54aGNpX21l bV9pbml0LT54aGNpX21lbV9jbGVhbnVwKHdoZW4gbWVtb3J5IGlzIG5vdCBlbm91Z2gpLg0KeGhj aV9tZW1fY2xlYW51cCB3aWxsIGJlIGV4ZWN1dGVkIHR3aWNlIHdoZW4gc3lzdGVtIGlzIG91dCBv ZiBtZW1vcnkuDQp4aGNpLT5wb3J0X2NhcHMgaXMgZnJlZWQgaW4geGhjaV9tZW1fY2xlYW51cCxi dXQgaXQgaXNuJ3Qgc2V0IHRvIE5VTEwuDQpJdCB3aWxsIGJlIGZyZWVkIHR3a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