Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp294571ybp; Tue, 8 Oct 2019 18:18:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0osjRlm2NOWkDX6kvOQZQ+DF599q2H90kHHcQ6WnqY17rz/BZxCGzjAF9d64GEXmK/4bu X-Received: by 2002:a17:906:c317:: with SMTP id s23mr542298ejz.251.1570583912715; Tue, 08 Oct 2019 18:18:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570583912; cv=none; d=google.com; s=arc-20160816; b=gy/5WG/DhvzvDLu3UgZvGq9kCwmTLSQv966XVTHeKQHMxXbRIL5qNNMpCukr7Xchha xSXsIKvzcU8Sv29cPFem656HkQPD9wd02uS1Ar8DlIDDhhHZ2ERPQoTAfW5WM8zz6Hny cK2kZvuw8hc8Md+KlrRkaumtp+sHUog1Ai3jlPwxbmQ0Kxr3ufy7w2PXCo3uI+7Gv4CQ tMHC27rGHOSSJ4nECfQuMZ8JI6V6aQWBJF+n2fmD289QvOBCQdew//NWbTZsXBRiyV4I N2JYctN8N+rZWpZGe1Y5fNQHuSNMfJ0zOxUqz6N8/C+/lQuD98EWfZosbd/+v0xgWmIi 2K+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=bphjxAg354M5v1mgfz7mpARUgNSTk/RLzbqHiiCjp1A=; b=TndWLAA0CymPvn6ZOxvW5B3OEGjTC2VcMUhtEJvUcGiEgv3e6UOPY9+YMcF4e78/+c F/X8NGLm4srvqb8oQxLEsoiTgiLvv7dASuivUJOohdCPP+Sb/zw43Op9carRC6oP60gm V+C9ueMNwuSlMVxUqAJZm2HDVNC/z99sKfGMdc90kot0HHAka7JcjoNO0aeOSne1N7Q/ Tx89OpwtyiFvrwBW6F3Rrl3btuldsHc3wmwgoKxTmL1y0zEPw9OytqzqDHveXEPTbjwU R/YFZ35HrKgDQb6shXy6TxNPL6F/oxwswwkifMr0qOUYd5LJchNeRMKLduvXu/yOTI1r q8uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=oiw1UQs+; dkim=pass header.i=@codeaurora.org header.s=default header.b=oiw1UQs+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b50si504147ede.28.2019.10.08.18.18.07; Tue, 08 Oct 2019 18:18:32 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=oiw1UQs+; dkim=pass header.i=@codeaurora.org header.s=default header.b=oiw1UQs+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730040AbfJIBRX (ORCPT + 99 others); Tue, 8 Oct 2019 21:17:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57222 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbfJIBRX (ORCPT ); Tue, 8 Oct 2019 21:17:23 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5D8A060AA8; Wed, 9 Oct 2019 01:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570583842; bh=XVsNK4IrJQqEtygFw4GniV7xzf57ICAUT9ZaI0ARlGg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oiw1UQs+13t72DOqHm+xVhKHd7YlYy+qbHCjGbze04GI921sf7Pcc3om49Fj+ppCx E5tUEkiGtNgvJ+6vkJ6/Itb9NH42n19dvdLIx3RqmxyY0wenhI0cmXKistLHqF+joV GTMRmIesVf4259RLdz7Jbd5QOxOk9jmMh6U7tuCI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.142.6] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: clew@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id BC10660709; Wed, 9 Oct 2019 01:17:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570583842; bh=XVsNK4IrJQqEtygFw4GniV7xzf57ICAUT9ZaI0ARlGg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oiw1UQs+13t72DOqHm+xVhKHd7YlYy+qbHCjGbze04GI921sf7Pcc3om49Fj+ppCx E5tUEkiGtNgvJ+6vkJ6/Itb9NH42n19dvdLIx3RqmxyY0wenhI0cmXKistLHqF+joV GTMRmIesVf4259RLdz7Jbd5QOxOk9jmMh6U7tuCI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BC10660709 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=clew@codeaurora.org Subject: Re: [PATCH v2 6/6] rpmsg: glink: Free pending deferred work on remove To: Bjorn Andersson , Ohad Ben-Cohen Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20191004222702.8632-1-bjorn.andersson@linaro.org> <20191004222702.8632-7-bjorn.andersson@linaro.org> From: Chris Lew Message-ID: Date: Tue, 8 Oct 2019 18:17:21 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191004222702.8632-7-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/4/2019 3:27 PM, Bjorn Andersson wrote: > By just cancelling the deferred rx worker during GLINK instance teardown > any pending deferred commands are leaked, so free them. > > Fixes: b4f8e52b89f6 ("rpmsg: Introduce Qualcomm RPM glink driver") > Cc: stable@vger.kernel.org > Tested-by: Srinivas Kandagatla > Signed-off-by: Bjorn Andersson > --- Acked-By: Chris Lew -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project