Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp996652lqo; Thu, 9 May 2024 01:20:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUTCqjD1OHC+k7eT7zV28n51byB0+0UVgvU9GEk6KVVjYTCNepSxkkl46DBQDey8aVrJdXRzOZNZWfzWGA0xIoTguVlfrfpI8f51rLcQ== X-Google-Smtp-Source: AGHT+IE2+0MMVMVtzGPUOGm/9o9vjw7RSW0BoHP/hD9sDPcrbS08W8UaaTt5El7cPUrvrkeBjj9s X-Received: by 2002:a9d:7557:0:b0:6f0:4847:a984 with SMTP id 46e09a7af769-6f0b7958968mr5177264a34.21.1715242837761; Thu, 09 May 2024 01:20:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715242837; cv=pass; d=google.com; s=arc-20160816; b=LYp5tAD3F5me3ugBqBZUD/EB7lnjRRqqLBpKWiesfmt5mVCus1NauB5C8emjw8/+KW bxDQPMQ93HwJx3noTArejyCeDTf706RNH+VYhk4fpiJO2/bqkNrx5koq1X7vI0aibh/Z NLcZGssc4cYtdUCb9UemfUwwxs/3sDzVFl9h1ogkyY6nqKgNuBKfa7OlOsUw4qGIJ2Ob pWDCA0Ku0s2WHom87OgphJmaofkzZgwV5T+RhHyCgbxomBx5/sIa2Mwhz+sMVye1vWV2 KDdlFV7SYFnY+tbXDAXkmd5I5BGvuKxGqMDKMdmBxPzHGQIcxr0ql683DaOg/vhJCHBy H3ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=6u5P6QV2j1Wp5ku1pJJfVNuKQHtsrvE4VoEuzvpp/co=; fh=ESBzK3vTCr1Fd589lL7WT6TKhSnYyYJal8+4OeYkM7g=; b=FdXVKhqDaaLitOtAJx59gVA6DhX7A9JLLcX+9AoxBXQ3/WHptFxy5y7eZ3Vspx0/RQ X7FznAlmdfF9mqd7S1gPqdFz+JaXRLQR3kXtvPRXBCDKda7V07Kgs0ASKjsXSHGZ49kF tsAaOk2RkJtIGGGtpbv+yvLk8bZuDFjVekptQzh8j/tAzTp6PD6xpuXJqH3MmeKxjYjJ 39UHfIFE8Y2YbKos/DHtf03Eolikc/S4r39ZNGvkpgHnMugZpwTTqkOpbMbvcreslvIo l63/KlTCxc0PbtTZoN+2qeM+3OChu0CZv6P1UF0aT6JKzMa4M9ijQWoQKuKUS26KJfqd 9Iyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NK1doKm7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63413d71213si922490a12.794.2024.05.09.01.20.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 01:20:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NK1doKm7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5880C28125C for ; Thu, 9 May 2024 08:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C61E1C2C6; Thu, 9 May 2024 08:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NK1doKm7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E846312D76E; Thu, 9 May 2024 08:20:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715242829; cv=none; b=JQ6BQ2pKc3f++VjEX/xdpPU6H1bNiz926Fa8x4PDulasazXpd+OAYjUN8a2nnjAOeo6fBC7raxOnB23KF/ZoSgX6JG6TcR8WxSUKlCqVsAKqnthFCz0H2nEl0nSl3JtccSCjhUPSMFjYdooARFnrNlGau1QxqbBoI2TF+q7nYGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715242829; c=relaxed/simple; bh=FlMUqvYrfJFhE+zcBZdCUl/oxTB00wwnITCr+xwtjYQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=GI6H06gtoeIc9Bqhje7Z0p75QX6nDvGcR/BtUkw4LeGzDMO7ktNjJPiwTWqnG0IwVwdCVPGqkcYhhNjT2fN88e3RsO/fC7kCOCXSBsssT6pjtQI3KiNm2owhg7aw08ha54eqBVesf5QP7zFEdb7xqNtLW0m8TzrxBE65fDYz2G8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NK1doKm7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 6AE03C2BBFC; Thu, 9 May 2024 08:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715242828; bh=FlMUqvYrfJFhE+zcBZdCUl/oxTB00wwnITCr+xwtjYQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=NK1doKm7EzNAW/oUTLLVBDPHbJVoIGVZJbxZ6zFhQnChzbhvK1UhXigkXbE4CBZYH FFMZKF6qCfjcIGtpGH5tJD6t5ZBfSuy3BGb6vsoJvhkjcd9HGuL3HJ0c3zzjWXqXcE U5bLxyzvj3ENyPKZ2e3F1yM3eifHPeO1PH/TQttmiY8Mnx1FP7oJ+x8WVAEnpd/cPd SvNoFsCvg8IqopUd6xlV9E6kUfolx6eFsF2X0bOAYt4p6883i5XEIFkecD1HzaZ+k3 hvaX/EqSe2rzla38HKJ8DIo4DGtLxATLt7PcTNDe13fWN9Ia6n80JEFoKJEiS7qIQe j65d53KjBKkzQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 5AB8CC32759; Thu, 9 May 2024 08:20:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] net/smc: fix neighbour and rtable leak in smc_ib_find_route() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171524282836.9047.9322288635530734098.git-patchwork-notify@kernel.org> Date: Thu, 09 May 2024 08:20:28 +0000 References: <20240507125331.2808-1-guwen@linux.alibaba.com> In-Reply-To: <20240507125331.2808-1-guwen@linux.alibaba.com> To: Wen Gu Cc: wenjia@linux.ibm.com, jaka@linux.ibm.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, kgraul@linux.ibm.com, alibuda@linux.alibaba.com, tonylu@linux.alibaba.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Tue, 7 May 2024 20:53:31 +0800 you wrote: > In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable > resolved by ip_route_output_flow() are not released or put before return. > It may cause the refcount leak, so fix it. > > Link: https://lore.kernel.org/r/20240506015439.108739-1-guwen@linux.alibaba.com > Fixes: e5c4744cfb59 ("net/smc: add SMC-Rv2 connection establishment") > Signed-off-by: Wen Gu > > [...] Here is the summary with links: - [net,v2] net/smc: fix neighbour and rtable leak in smc_ib_find_route() https://git.kernel.org/netdev/net/c/2ddc0dd7fec8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html