From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10C4FC25B47 for ; Fri, 27 Oct 2023 12:16:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231340AbjJ0MQu (ORCPT ); Fri, 27 Oct 2023 08:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbjJ0MQt (ORCPT ); Fri, 27 Oct 2023 08:16:49 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C30AEC0 for ; Fri, 27 Oct 2023 05:16:47 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A6D0C43391; Fri, 27 Oct 2023 12:16:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698409007; bh=4NRUlTmk1LuMcKNw3A1i1UU6nGDzxkPn/7MnfP+vx0k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N7YUwcJFEbmTMB2amn0vCRT5AIo9J+oPZ8RpvrzxMixPxDTxyQgtqTzhp+HR8ftbC xql6Y6+Zh9+nxy5JeI/7ORnJ1UzPsJN25lMN0cAKamgY7h4fjpOdGFxzd7m1Z08Yue m3qGUe1jzzloMzUPmzxzlUYg1IJuRODAiIOoIQIc= Date: Fri, 27 Oct 2023 14:16:44 +0200 From: Greg Kroah-Hartman To: Oliver Hartkopp Cc: Lukas Magel , patches@lists.linux.dev, Maxime Jayat , Marc Kleine-Budde , Sasha Levin , stable@vger.kernel.org, Michal Sojka Subject: Re: [PATCH 6.1 043/131] can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior Message-ID: <2023102721-voltage-thyself-e881@gregkh> References: <20231016084000.050926073@linuxfoundation.org> <20231016084001.142952122@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Oct 24, 2023 at 08:34:30PM +0200, Oliver Hartkopp wrote: > Hello Lukas, hello Greg, > > this patch fixed the issue introduced with > > 79e19fa79cb5 ("can: isotp: isotp_ops: fix poll() to not report false > EPOLLOUT events") > > for Linux 6.1 and Linux 6.5 which is fine. > > Unfortunately the problematic patch has also been applied to 5.15 and 5.10 > (referencing another upstream commit as it needed a backport). > > @Lukas: The 5.x code is much more similar to the latest code, so would it > probably fix the issue to remove the "wq_has_sleeper(&so->wait)" condition? > > @Greg: I double checked the changes and fixes from the latest 6.6 kernel > compared to the 5.10 when isotp.c was introduced in the mainline kernel. > Would it be ok, to "backport" the latest 6.6 code to the 5.x LTS trees? > It really is the same isotp code but only some kernel API functions and > names have been changed. Sure, if you think it is ok, please send the backported and tested patch series and we will be glad to review them. thanks, greg k-h