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 2D8B5C433FE for ; Wed, 12 Oct 2022 21:08:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbiJLVIj (ORCPT ); Wed, 12 Oct 2022 17:08:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbiJLVIi (ORCPT ); Wed, 12 Oct 2022 17:08:38 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3826FFF235 for ; Wed, 12 Oct 2022 14:08:37 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id 3so150768pfw.4 for ; Wed, 12 Oct 2022 14:08:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ElcaSENspuIb37PaJ/21GDQ25/AhVWBhVbKNRiODFrQ=; b=WEgYRK/z3m7R1JqytKy9BGr9thItSeAJ7zTILkmSgySy0YQrWkbb4ns03wZAfUmdmn SqLvPyYakO/OFHMbJnkHAvUue+weI0KY/XztgdU304e/EZ44QVacHz+xOYCKWrUSkCcg VaHgZ3PvNEuP2B1QWGno9sFAVYmgSyZxv1WP5fOvr1t9xpP0vvmkYs6ZKx0b3vEraVQl clwTA6t+VRZlIj85P10AGd+Q4AZK0UEiws/vT+Gzi8srEUIqgoVKw6JkL7BWMjXcUsRR mEiFR5ckwTxaR14O3iC8TLtvxlPtxoDxk0pPyAl9qL6y2s8Pb561wyxzEp4GTb5qT/rW kNCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ElcaSENspuIb37PaJ/21GDQ25/AhVWBhVbKNRiODFrQ=; b=loDbgnJUalP7pp48uW+LCU1eo2pIJtQnEwgM08VEzw0rTHQ1x0TciOuVQMJvV2PdTd SXY5BVU6HXjeJ+ai2IuLnPPgB8u+whTER7NG6yY/6BmONrW0hXqlAHvHDOIKrva/29es 9Ke7Nq5MFljMMq320R7MCzleDlIZUVjWyWDo23GKoZSDC84b2bNgrvog42Xjw6eeDC+V aXDGFbiVsvaJ226JxNbhOpm+Wax1bkUl41/ousXbO+9FB5nMURZFmKweH7QNDTbTS3T+ Y4auS8pBWxgC4iEWM/YwzChTT3CM3awAgzQTXfIfhjcjVZDuvGwomSO5uWfGaTbQwUa3 q76Q== X-Gm-Message-State: ACrzQf0YGI1G2b47Hxm3p7OvnSLQVoVdG/Wfh2Ktj+Nqc2ZM3A2nJFsa u+BdA12HqT+UkLoQI32Nd6c= X-Google-Smtp-Source: AMsMyM5cQG2y8Ida/4bsFC13D1pF2+tWEhB0UvvkzhevwP5cdJM3ymLzcZ/u6xuuUr359vbQS7RZcg== X-Received: by 2002:a65:6753:0:b0:438:e83a:bebc with SMTP id c19-20020a656753000000b00438e83abebcmr26959563pgu.602.1665608916736; Wed, 12 Oct 2022 14:08:36 -0700 (PDT) Received: from ?IPV6:2620:15c:2c1:200:9517:7fc4:6b3f:85b4? ([2620:15c:2c1:200:9517:7fc4:6b3f:85b4]) by smtp.gmail.com with ESMTPSA id g2-20020aa79f02000000b0053ae018a91esm298969pfr.173.2022.10.12.14.08.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Oct 2022 14:08:36 -0700 (PDT) Message-ID: Date: Wed, 12 Oct 2022 14:08:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: RFH, where did I go wrong? Content-Language: en-US To: Thorsten Glaser Cc: Dave Taht , netdev@vger.kernel.org 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> From: Eric Dumazet In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 10/12/22 14:05, Thorsten Glaser wrote: > On Wed, 12 Oct 2022, Eric Dumazet wrote: > >> I guess RTNL is not held at this point. > OIC, so it’s held for .init and .reset but not the other methods. > I wish this were documented… RTNL being a mutex it only can be acquired in process context. qdisc fast path (queue/dequeue) can be called from (soft)irq context, so RTNL is out of reach. > > Looking good so far. Thank you very much! > > bye, > //mirabilos