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 B372CC67871 for ; Mon, 24 Oct 2022 23:30:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbiJXXaM (ORCPT ); Mon, 24 Oct 2022 19:30:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230168AbiJXX3q (ORCPT ); Mon, 24 Oct 2022 19:29:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE8E52DF7 for ; Mon, 24 Oct 2022 14:51:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BF00CB810B2 for ; Mon, 24 Oct 2022 21:50:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C934C433D7; Mon, 24 Oct 2022 21:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666648250; bh=/ENvohpluG/XaH83DTw5yDWU4oCfHJULqK/EPnnj+G0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dkE24BHp0qxk7PFe9gSvgoaJugXtWyk/4dSWv//RbF5KLnGKM6XJOZbTghbiJdRyx n6HLj/7weJOTeUgYfwGMvFOiYz2xpbja7Tj449pDQmN6E+4db16WRk0Yd3Kw/TjGF8 43NAZjkCmKrTnOKyEULP8AAbpzBDNGZ8MntOo1oUyxEgwlTTBdxhVLeTXA+FzWVDF6 lkrxjZMlzdkykEKl04Ou8aEpGIalMvSrqfxllUn23qV9dIiABbCmLRfvpMbDcFnDTG Grnu0Esm6AwyGW8jSbxgxMLgTVNZVjVZEUo4+UNA6WK9H8xr7MqHece9A4rK3ck2TZ /40dahpjXRJCg== Date: Mon, 24 Oct 2022 14:50:48 -0700 From: Jakub Kicinski To: Eric Dumazet , Arnd Bergmann Cc: Liang He , davem@davemloft.net, pabeni@redhat.com, netdev@vger.kernel.org Subject: Re: [PATCH] appletalk: Fix potential refcount leak Message-ID: <20221024145048.2b679a59@kernel.org> In-Reply-To: References: <20221024144753.479152-1-windhl@126.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 24 Oct 2022 08:36:13 -0700 Eric Dumazet wrote: > IMO appletalk is probably completely broken. > > atalk_routes_lock is not held while other threads might use rt->dev > and would not expect rt->dev to be changed under them > (atalk_route_packet() ) > > I would vote to remove it completely, unless someone is willing to > test any change in it. +1 for killing all of appletalk. Arnd, I think you suggested the removal in the past as well, or were you just saying to remove localtalk ?