Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2346533pxy; Tue, 3 Aug 2021 04:20:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcMkUPNwAzdL9jYIhPvC5JvX3bOp/YdvpwRdA4ySSHXBFWLI867HySZkqtT7dCqflL085R X-Received: by 2002:a92:c24b:: with SMTP id k11mr14971ilo.78.1627989615137; Tue, 03 Aug 2021 04:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627989615; cv=none; d=google.com; s=arc-20160816; b=C/NxpkMRaBWqeQj9Dr99jB/pwbEUfV22WJ+XvXmKYmBS9v98h2b05DHm2TRGqnf9Oq y/r7AgKiqtMC6oDGtg2s/BCHXPL3csXPRS5XdA6KdNE+15lnzY8xxWUqiA+DGnZpbU7I Z61F7f+Yo1Ae30rS4A22Atls2EWhjrhtT5XmUKDEMSOZGdxjxNlo7gI1h6xUeL2OpyTI am3SgsV7v/LgpIQSTnXqJxIDDbK45+87qsa56HV4UIHiOGD0hw0zw/HKhT7lAy8zcRfB s0rScXEyG3Qg1B076oQX7/+Al+LQrbZ22fj1D8Mr7O01BZy9qw66c86jGB3FciO/b0kW mZBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:cc:to:subject:message-id :from:date:dkim-signature:mime-version; bh=LgCqQlSSX2PcnXFJh1Yaw7vD5bKUCJpn+z41x69Wmwg=; b=ZNw5MYOlAMNxiy0/ntK5xc8GLp+97JE+n9s9774jAqUOhDvgqbn7rO8J/Vq4ikzNm0 UMDXXlGX2Of5zrip1UQsW3sdmbptuyYK4S4IVzJVDBu/AUvYPc8fSvSqpvirdjsN8Qdu jrlFzs4k7RjCpbnSJqDy1PEpLeZvSjz9HfNAbaOwM6xFJiTowuwfIlt4Xi1TQALDSJ6X 5TtPwmBJm+ICKBzrGEIp532ijy74kVPzZB+l8qpTpQsGl9xPcaKAq+08T+zYDyYbwrA8 t/u0DVSUdZKo/NPokwbya2D2xycoYj+flF+3UPbJDUSgYxAzMlMf1FAxGU6a21Dr0gDP Zx6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KUSvzizT; 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=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si19418558ilj.10.2021.08.03.04.20.02; Tue, 03 Aug 2021 04:20:15 -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=@linux.dev header.s=key1 header.b=KUSvzizT; 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=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235453AbhHCLSO (ORCPT + 99 others); Tue, 3 Aug 2021 07:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234156AbhHCLSN (ORCPT ); Tue, 3 Aug 2021 07:18:13 -0400 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB6FEC061757; Tue, 3 Aug 2021 04:18:02 -0700 (PDT) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1627989479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LgCqQlSSX2PcnXFJh1Yaw7vD5bKUCJpn+z41x69Wmwg=; b=KUSvzizTn2JjWKrhAZYHOhoTmlZA/q9vTlYyNs50v9UnNeGdSiTvVRP5aJkpxua9wTZZKL vutGwtvzIu0xHxkGwZQxu8rWsIQezy/bmyeysTtOjDYYC+2npCto3izoKRzU+cwdS3BEw3 FX8GeJ8Q9UoI6EQXS5ofH3RETq44Wf8= Date: Tue, 03 Aug 2021 11:17:59 +0000 Content-Type: multipart/mixed; boundary="--=_RainLoop_288_567298312.1627989479" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: yajun.deng@linux.dev Message-ID: <7177b79774f6be76431ff4af9fa164f8@linux.dev> Subject: Fwd: Re: [PATCH] net: convert fib_treeref from int to refcount_t To: m.szyprowski@samsung.com Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <2033809a-1a07-1f5d-7732-f10f6e094f3d@gmail.com> References: <2033809a-1a07-1f5d-7732-f10f6e094f3d@gmail.com> <20210729071350.28919-1-yajun.deng@linux.dev> <20210802133727.bml3be3tpjgld45j@skbuf> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: yajun.deng@linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----=_RainLoop_288_567298312.1627989479 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This patch from David Ahern was applied in the newest net-next.=0A=0A----= ---- Forwarded message -------=0AFrom: "David Ahern" = =0ATo: "Ioana Ciornei" , "Yajun Deng" =0ACC: davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ip= v6.org, dsahern@kernel.org,=0Anetdev@vger.kernel.org, linux-kernel@vger.k= ernel.org, linux-decnet-user@lists.sourceforge.net=0ASent: August 2, 2021= 10:36 PM=0ASubject: Re: [PATCH] net: convert fib_treeref from int to ref= count_t=0AOn 8/2/21 7:37 AM, Ioana Ciornei wrote:=0A=0A> Unfortunately, w= ith this patch applied I get into the following WARNINGs=0A> when booting= over NFS:=0A=0ACan you test the attached?=0A=0AThanks, ----=_RainLoop_288_567298312.1627989479 Content-Type: application/octet-stream; name="0001-ipv4-Fix-refcount-warning-for-new-fib_info.patch" Content-Disposition: attachment; filename="0001-ipv4-Fix-refcount-warning-for-new-fib_info.patch" Content-Transfer-Encoding: base64 RnJvbSBlYzlkMTY5ZWIzM2U2YTY1ZGI2NDE3OTI4MjFjYzZhMjU5ZWQ5MzYyIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBBaGVybiA8ZHNhaGVybkBrZXJuZWwub3Jn PgpEYXRlOiBNb24sIDIgQXVnIDIwMjEgMDg6Mjk6MjYgLTA2MDAKU3ViamVjdDogW1BBVENI IG5ldC1uZXh0XSBpcHY0OiBGaXggcmVmY291bnQgd2FybmluZyBmb3IgbmV3IGZpYl9pbmZv CgpJb2FuYSByZXBvcnRlZCBhIHJlZmNvdW50IHdhcm5pbmcgd2hlbiBib290aW5nIG92ZXIg TkZTOgoKWyAgICA1LjA0MjUzMl0gLS0tLS0tLS0tLS0tWyBjdXQgaGVyZSBdLS0tLS0tLS0t LS0tClsgICAgNS4wNDcxODRdIHJlZmNvdW50X3Q6IGFkZGl0aW9uIG9uIDA7IHVzZS1hZnRl ci1mcmVlLgpbICAgIDUuMDUyMzI0XSBXQVJOSU5HOiBDUFU6IDcgUElEOiAxIGF0IGxpYi9y ZWZjb3VudC5jOjI1IHJlZmNvdW50X3dhcm5fc2F0dXJhdGUrMHhhNC8weDE1MAouLi4KWyAg ICA1LjE2NzIwMV0gQ2FsbCB0cmFjZToKWyAgICA1LjE2OTYzNV0gIHJlZmNvdW50X3dhcm5f c2F0dXJhdGUrMHhhNC8weDE1MApbICAgIDUuMTc0MDY3XSAgZmliX2NyZWF0ZV9pbmZvKzB4 YzAwLzB4YzkwClsgICAgNS4xNzc5ODJdICBmaWJfdGFibGVfaW5zZXJ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