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 D7C01C433FE for ; Wed, 12 Oct 2022 21:40:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbiJLVk4 (ORCPT ); Wed, 12 Oct 2022 17:40:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiJLVkz (ORCPT ); Wed, 12 Oct 2022 17:40:55 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61D9C4C20 for ; Wed, 12 Oct 2022 14:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=srsE+gzGPwjtQYl03G8i24hkuV1Ib9N/e5SVbRdlvwI=; b=eV GaJczHF/AS/PhMctElhLHKa5A6kx09ad1CZosotjIPNlKq/nr93VWGZdxAwAOdtTTSf/Gwqcb654S p3SlPb00VAPlzB1eQlmAznXNAh+PYMu2Gk7MDaoz37dh8PNyGbQDTxgWuI2fs07ir7JxcPAwvt94a bdyhLnCMicl8YS8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oijT9-001pxP-8V; Wed, 12 Oct 2022 23:40:51 +0200 Date: Wed, 12 Oct 2022 23:40:51 +0200 From: Andrew Lunn To: Thorsten Glaser Cc: Eric Dumazet , Dave Taht , netdev@vger.kernel.org Subject: Re: RFH, where did I go wrong? Message-ID: References: <42776059-242c-cf49-c3ed-31e311b91f1c@tarent.de> <1a1214b6-fc29-1e11-ec21-682684188513@tarent.de> <8051fcd-4b5-7b32-887e-7df7a779be1b@tarent.de> <3660fc5b-5cb3-61ee-a10c-0f541282eba4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Oct 12, 2022 at 10:48:53PM +0200, Thorsten Glaser wrote: > On Wed, 12 Oct 2022, Eric Dumazet wrote: > > > This looks wrong (although I have not read your code) > > > > I guess RTNL is not held at this point. > > > > Use kfree_skb(skb) or __qdisc_drop(skb, to_free) > > Ooh! Will try! That’s what I get for getting, ahem, inspiration > from other qdiscs. Are other qdiscs also missing RTNL, or are you just using the inspiration in a different context? Andrew