Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4191273ybb; Tue, 7 Apr 2020 02:35:18 -0700 (PDT) X-Google-Smtp-Source: APiQypIphAkdoDbFCcAmGvkh5cF5CSmFVLEVUtMBb7dITDtcYsinyhlvpwGd6YD0NLr6Wa5yYU33 X-Received: by 2002:aca:5014:: with SMTP id e20mr1009603oib.34.1586252118476; Tue, 07 Apr 2020 02:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586252118; cv=none; d=google.com; s=arc-20160816; b=ZCkmVSY6cG5zp51Tq7CkVUCQYqI0hoEFCzuQZqt1sSuh0iX/dzgf8T/navvkiC+fL0 XRSn/R9t6CFrzoxx9Y0sHgMCZpEzssTx8UDVUGobXd6tbSLqJpHR79wl3weNmeyOrDCo 4nDlMQJv6NDfnbwT1VwXxBpyiZkfwBYWSh0AXCKOwXtsJBqPd81F0MZXN/vsnnIbToE3 oT1+shx8d/HpCM49VVjDdRv5Nwe/jaFnHrU0SuMN3zYgheNL3fzfagHbGJlq6Ko42PEl 4apHIQG27LfhfMaqBROGhwfPDFcJPxHW+y3SkAyy8eSa8F5234iui3FJ8MbLRP2Fs9uc DvIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=uPsTNxLdIDWlRCtJqG7CoBzdAg59oIT20FSzJSMfJfM=; b=RUwNxhnT7gcQXrMm6bYM0gAN8/1ZE57LBCJCysu36CjqVbypiZIxepwughd+TwcSFf g6lTlXTVN9znW/e+yoR4z5gZWLEhJSAR/L+FoL7dDDc8ouMst2H4T0efsZKjGn93iqov 6faNYyeHwpK60u0myDdSHWGIaN5ixaeeaye0+nSJxKQSCU5VpPY2LfiYHq9pr5p2aftb xgHQc2++7KVlqcBxnE+EkxG+d/uO93M0LGf7xQuXAkpD9UvHygA9BTf+nVc9Bc0FIGEM AFC/Y9bo6FkEaY6uKaT5GSNcPkyGPbbC3n8i+sdBWne16XmVIjZiJQGh+CT94M2Lrz6u CqwQ== 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=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si1070462otc.12.2020.04.07.02.35.05; Tue, 07 Apr 2020 02:35:18 -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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728088AbgDGJe1 (ORCPT + 99 others); Tue, 7 Apr 2020 05:34:27 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:41877 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbgDGJe0 (ORCPT ); Tue, 7 Apr 2020 05:34:26 -0400 Received: from mail-wm1-f70.google.com ([209.85.128.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jLkci-0001sz-RN for linux-kernel@vger.kernel.org; Tue, 07 Apr 2020 09:34:24 +0000 Received: by mail-wm1-f70.google.com with SMTP id a4so472771wmb.3 for ; Tue, 07 Apr 2020 02:34:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uPsTNxLdIDWlRCtJqG7CoBzdAg59oIT20FSzJSMfJfM=; b=B6LRD4mclXrTEEhXFGb/Jjaxif0iugfVEcybu6i/Prdq1l8cGAQ/R/RjInH9kTO3UA nUv924UdS5qqOY9/wREigcvK0tXuy6dKtcH6TxeldnfTFHOOfAcMt/2EkapYGJ3Atl4a rYbtgZdbkYv9sNckbimozEol9YEUHqPoo2+f/mpyfhSbp0k72du9EUaVWV4XMC5T7tn4 i77BTtKNWe+fm+Gq31slF8D5tStYz0wOPC5SegB5eDbqjIRoHKdNnO6a20rY9P+Q4RkJ jUFDTupJK+TansKlww5NkDOuee/2xOeDbK3OV+B9PKsFG3itBU/UUe0S/jgN8dL6SZ/v Vw2g== X-Gm-Message-State: AGi0PuZTGIMoIi8gTjtnxl+atS5uA2QYFxcD5ZPK4LYk98L8zhgwH5KO DF6wNbMY8wCYFpwJCMTOFd949SV9msgoNobxqJmPrkFa624/RG6Ulj4j4gOU4sBz5KgPJbuvXHg EDVx7B13Iu6dmW1N4CZQecdgXihVYjpdG0aYLRI4AuQ== X-Received: by 2002:a1c:68d5:: with SMTP id d204mr1442654wmc.15.1586252064435; Tue, 07 Apr 2020 02:34:24 -0700 (PDT) X-Received: by 2002:a1c:68d5:: with SMTP id d204mr1442631wmc.15.1586252064149; Tue, 07 Apr 2020 02:34:24 -0700 (PDT) Received: from localhost (host123-127-dynamic.36-79-r.retail.telecomitalia.it. [79.36.127.123]) by smtp.gmail.com with ESMTPSA id f5sm20796541wrj.95.2020.04.07.02.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2020 02:34:23 -0700 (PDT) Date: Tue, 7 Apr 2020 11:34:22 +0200 From: Andrea Righi To: Vladis Dronov Cc: Piotr Morgwai =?utf-8?Q?Kotarbi=C5=84ski?= , Colin Ian King , Richard Cochran , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ptp: free ptp clock properly Message-ID: <20200407093422.GD3665@xps-13> References: <20200309172238.GJ267906@xps-13> <1196893766.20531178.1585920854778.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1196893766.20531178.1585920854778.JavaMail.zimbra@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 03, 2020 at 09:34:14AM -0400, Vladis Dronov wrote: > Hello, Andrea, Colin, all, > > This fix is really not needed, as its creation is based on the assumption > that the Ubuntu kernel 5.3.0-40-generic has the upstream commit 75718584cb3c, > which is the real fix to this crash. > > > > > I would guess that a kernel in question (5.3.0-40-generic) has the commit > > > > a33121e5487b but does not have the commit 75718584cb3c, which should be > > > > exactly fixing a docking station disconnect crash. Could you please, > > > > check this? > > > > > > Unfortunately the kernel in question already has 75718584cb3c: > > > https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/bionic/commit/?h=hwe&id=c71b774732f997ef38ed7bd62e73891a01f2bbfe > > Apologies, but the assumption above is not correct, 5.3.0-40-generic does > not have 75718584cb3c. If it had 75718584cb3c it would be a fix and the ptp-related > crash (described in https://bugs.launchpad.net/bugs/1864754) would not happen. > > This way https://lists.ubuntu.com/archives/kernel-team/2020-March/108562.html fix > is not really needed. Hi Vladis, for the records, I repeated the tests with a lot of help from the bug reporter (Morgwai, added in cc), this time making sure we were using the same kernels. I confirm that my fix is not really needed as you correctly pointed out. Thanks for looking into this and sorry for the noise! :) -Andrea