From mboxrd@z Thu Jan 1 00:00:00 1970 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 A4EF51772E for ; Thu, 15 Jun 2023 22:10:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3BDBEC433C9; Thu, 15 Jun 2023 22:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686867021; bh=EL93ScnYQ//w5eG8jbe3elpsczNkhXXjXDUdTAha0fc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qt9nCS9iprtlS4Yehhu2kv8KvE9OsfYxOpkzDlZGxA2U1zEHjo3DbEEN2SWa6R7w1 l0wmJmN7+anZbTfbXXxpyhbEQlFVwf+FQ2ZLpLSZoZ2e/BmlaUM8dpwQae2qieH7yX Q7HWEnm+qKeoYN3CEx50XpPuDm5hW9uVsnqQ9ehztsNkc4g0gilPwqFEO1m/KIExtb qY8veP85Vxry0JzqQwQyLRviORRu9QAfbr9y/bmK/9mUgFSMNo+kTog0hcToUeueu6 gA8u881LgyCitzEA+o/Bk6PET4EFZ5/YCxATaI2XRVjnkV7IKU0GnHXVQu7B1yMoI+ CQ7XQdSuTJGOQ== 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 17BD0E21EEA; Thu, 15 Jun 2023 22:10:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v1] tipc: resize nlattr array to correct size From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168686702108.9701.16428845157515864960.git-patchwork-notify@kernel.org> Date: Thu, 15 Jun 2023 22:10:21 +0000 References: <20230614080013.1112884-1-linma@zju.edu.cn> In-Reply-To: <20230614080013.1112884-1-linma@zju.edu.cn> To: Lin Ma Cc: davem@davemloft.net, netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Wed, 14 Jun 2023 16:00:13 +0800 you wrote: > According to nla_parse_nested_deprecated(), the tb[] is supposed to the > destination array with maxtype+1 elements. In current > tipc_nl_media_get() and __tipc_nl_media_set(), a larger array is used > which is unnecessary. This patch resize them to a proper size. > > Signed-off-by: Lin Ma > > [...] Here is the summary with links: - [v1] tipc: resize nlattr array to correct size https://git.kernel.org/netdev/net/c/44194cb1b604 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html