Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1675496pxy; Mon, 2 Aug 2021 07:39:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfe6RFK2LPDjwHGmNufuvMBBTVc6vKNEMDb3I/AhmHSNVlAGyBx/+AyroiCd0utw/qO6pB X-Received: by 2002:a17:907:76d3:: with SMTP id kf19mr15698568ejc.221.1627915145088; Mon, 02 Aug 2021 07:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627915145; cv=none; d=google.com; s=arc-20160816; b=eyNTeIcw7+h6PmYfkkT0nNdSDOthP83sApbms0vu3LHB61IPJ0vSZ17Iof9Hg8mxpx IVZTRXqbhClIvtzTG8QtIYqw0Tc22Z7PkMCMsDpQRjKre0Q42qaeDIGNrlMo9BUbC00p PYgy8Zwd+ra+i+j2gr1aXWqqaA7WHBQCI1N0uRYl7OduI+K+HS2nJSkgE2CjgZm756YK m73a9p/ogY/x6pUpTFFKiBrCu80yU0pKBTSabAlJf5Gg8o1K3ylxPWWODXzdUV9/dJ6H TD4px/csuXVwDxlQDe43GINMSym0O+PIaAsQyFzxzYC5Yhxe7A1vLCaKbrKgVVl6iu+d 5vsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :dkim-signature; bh=MVihtTuA4GiAmhxLEdqXX0x3qDJAycEKyff1M1mOmzE=; b=Rv81F7dBzvJxdcqL/G3Ikb2ulVjZP1LLLIIDF6LX7dknJn+CC23KYjKlIPQchM+JOY lSLr9BYNl/nVvNq98Pntjk9wLCXq8f4PPSaaqSf+abRm4h++PWwNj8cYZJ6OrKqyz4UG TVeF7wCStLIiEPsIh7kNK7EXM6RV3CjX2dKBFRsa3IgBAc56NvwyghN8jn3lEJ+Pr3Jn HpDuq6k7n7/bOa8cqA9BuOA2pCL8C4PnYX+GTQ+lxSlguVQSwlGoQW82zffROsmUMaEd I8w4pp7OmTVK03l7y2Cer/3TzOn5HJsv/3fuv3MY877UWALyZWa9FWK3gePctmlelMdS 2kgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iwiHE2v6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si10893259edb.588.2021.08.02.07.38.42; Mon, 02 Aug 2021 07:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iwiHE2v6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234150AbhHBOhN (ORCPT + 99 others); Mon, 2 Aug 2021 10:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbhHBOhM (ORCPT ); Mon, 2 Aug 2021 10:37:12 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D665C06175F; Mon, 2 Aug 2021 07:37:02 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id o2-20020a9d22020000b0290462f0ab0800so17636882ota.11; Mon, 02 Aug 2021 07:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=MVihtTuA4GiAmhxLEdqXX0x3qDJAycEKyff1M1mOmzE=; b=iwiHE2v6rzLdyqVWJ8qHNSPAlQFvTykcpRJUOrB2J1zrELK+7id2tk8/z2WsiLLewD rhe1T14LEksKLE/LU8Lm3Fe012fGmlyWdeNGS2y5z0ZmFntfOE8D854RwAw5idf9ZHkZ MjskMp/JOX7bxrY56/6xjZ1UTknrJAVv0wjw4lR0sTzwF2yPRWPAKN0r5k6qEJs3Dcgd EmfWNYWTPcD5uj8MiYmteWBn4NSinjgD6lf5kqRaiWVutyKBBUG49k/XfcQDUqwPUe1+ mRgMpwDty2sTzIo4Dhh14Qxndob4AqQMIJP1jG9CS1+HNG9IIRJJJjTLfxR7chm0xAB9 PVoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=MVihtTuA4GiAmhxLEdqXX0x3qDJAycEKyff1M1mOmzE=; b=LhsxdPGnPgWsUWiZZHkE/dp6PaS6vgX7Nfs2hyI764yb9l9M1oTlYyFWc3so3x3TpR e3XQ1mBIFjRG/pb7E+k0SKDeU4JIqJ/mZavMoG/eCzarSk4+ad8l62vN1h6/E39vS3eB sHZ00nhp7SlGQoSv6PphqrFnJnpQEp5eNF67IvTKqQmwVGtR5XcJp7MgofB0asY70QhZ G+TpJ31mHI353Qh6CIt4My+RTfFCB/m7RhZ7FcLCQXJeIsOffVbJ07uG00RV//6BuEQL 10jAJo7PC1dT0g2T1ywuW49WzFXpNZtjvICFCRnKSCcSHnFQjxhmCPbyfpnOQGpPKGFr TRAg== X-Gm-Message-State: AOAM533ecdTmLxOHhFHYoWBGlh2ph4LddBlNmLlxtFbARbOuXzKPl0o/ CNkiMPej/75D5gq80XgwQ58= X-Received: by 2002:a05:6830:19ca:: with SMTP id p10mr12148684otp.267.1627915021624; Mon, 02 Aug 2021 07:37:01 -0700 (PDT) Received: from Davids-MacBook-Pro.local ([8.48.134.27]) by smtp.googlemail.com with ESMTPSA id h187sm1803676oif.48.2021.08.02.07.37.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Aug 2021 07:37:01 -0700 (PDT) Subject: Re: [PATCH] net: convert fib_treeref from int to refcount_t To: Ioana Ciornei , Yajun Deng Cc: davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ipv6.org, dsahern@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-decnet-user@lists.sourceforge.net References: <20210729071350.28919-1-yajun.deng@linux.dev> <20210802133727.bml3be3tpjgld45j@skbuf> From: David Ahern Message-ID: <2033809a-1a07-1f5d-7732-f10f6e094f3d@gmail.com> Date: Mon, 2 Aug 2021 08:36:59 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210802133727.bml3be3tpjgld45j@skbuf> Content-Type: multipart/mixed; boundary="------------28DC582A340025063863F4C4" Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------28DC582A340025063863F4C4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 8/2/21 7:37 AM, Ioana Ciornei wrote: > Unfortunately, with this patch applied I get into the following WARNINGs > when booting over NFS: Can you test the attached? Thanks, --------------28DC582A340025063863F4C4 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-ipv4-Fix-refcount-warning-for-new-fib_info.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-ipv4-Fix-refcount-warning-for-new-fib_info.patch" RnJvbSBlYzlkMTY5ZWIzM2U2YTY1ZGI2NDE3OTI4MjFjYzZhMjU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