Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4373922ybh; Tue, 6 Aug 2019 10:33:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZLvwlGYoap9HsD9R1leyC16iBrSG5bHUVdgT3tYxa7abFJQmBAlP1h4AFdjuEHYUC2MgJ X-Received: by 2002:a63:cc14:: with SMTP id x20mr4102925pgf.142.1565112784170; Tue, 06 Aug 2019 10:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565112784; cv=none; d=google.com; s=arc-20160816; b=naJ6Pp8/CIq0sqnd8uaZxfdnjwfCXaq+fy98qtaJbzvVxTh9Nay7smRpwwRJCSZa7U Wss2lm0wN/Lfb5wET+vBhA+YrUv0Uvcll3uqcHJGr3nPOcdKnJH1MSqukIDZLWunwtl6 yjOG2qD0ELHAhL9an25PD8YoMjQyTC8X/8gneZNLfKOrY7zVu2q8tY2PlMdcEFXzDtlG IJazDK9MUr2LCMGtowsVYonkDz8MTcGYCH5ydppBM1/fjgCdrk4uBMgRHELN2h6U/hI9 C8tZab/UO/bw3O3LjkHMkgjPtmP1P1tBeZwcMQi1OBCUIY1/wSgZp41kkAxRFOPB/ejU BAwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=1KQ+cRoDnyhS3xV70UNU254ZBSmMXEIRzOU4ScXmEaU=; b=Qwbcr6j7zhxW2TF7xLyxURVh7wB4d8LKMnEJ1VlWZC3gfKDW1yBzY9VAIGVk9JNjfJ Pb4frJMEUBpqC3/CN7OKpkX5pAqt5OSUXh/YrYu7hVmLez/O1Eozt9VLV5a72mKMHpFC gdAKk2PBej27aM3a6zB0v55KQeGzI0qlchbN0dNC3Q/22ULDlNQl5fsnFEvr6DLB9Sc8 TnAVSFMZ/rOHR8tiQr0bdZWutT1EIQLe3B9ygE7d+JDkYmCVMLK0n6Y0p94V7zpo7pNe XN4o+/3IpdLwXZzzbynnqGp9fzfsIrOAktfESyyiC8VdzWXZPf2ea19yUN/hG8ea7Lph glGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si41867054plp.212.2019.08.06.10.32.48; Tue, 06 Aug 2019 10:33:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387453AbfHFRbY convert rfc822-to-8bit (ORCPT + 99 others); Tue, 6 Aug 2019 13:31:24 -0400 Received: from mga03.intel.com ([134.134.136.65]:55792 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729161AbfHFRbX (ORCPT ); Tue, 6 Aug 2019 13:31:23 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 10:23:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="179214381" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga006.jf.intel.com with ESMTP; 06 Aug 2019 10:23:39 -0700 Received: from orsmsx155.amr.corp.intel.com (10.22.240.21) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 10:23:39 -0700 Received: from orsmsx115.amr.corp.intel.com ([169.254.4.6]) by ORSMSX155.amr.corp.intel.com ([169.254.7.34]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 10:23:39 -0700 From: "Luck, Tony" To: chenzefeng , "Yu, Fenghua" CC: "linux-ia64@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] ia64:unwind: fix double free for mod->arch.init_unw_table Thread-Topic: [PATCH] ia64:unwind: fix double free for mod->arch.init_unw_table Thread-Index: AQHVTCsnpSjwlBwy9U2ONZj4lwwDRqbuXtsg Date: Tue, 6 Aug 2019 17:23:39 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F7F410413@ORSMSX115.amr.corp.intel.com> References: <1565077593-72480-1-git-send-email-chenzefeng2@huawei.com> In-Reply-To: <1565077593-72480-1-git-send-email-chenzefeng2@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDc1NDQxMjYtZjMwYS00ZjBjLTllZTgtZTEyNzMxMmFjOWEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTmVNallFWXNzN3NvWW1CK2xCNWoyUmpOc0hZa3V3eVNVVWpZOFwvOG5JYnJUR3ZtK3FLeU93bHVuaEZQVWlKZ1YifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Here, set mod->arch.init_unw_table = NULL after remove the unwind > table to avoid double free. Applied. Thanks. -Tony