[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240826070646.GA10527@breakpoint.cc>
Date: Mon, 26 Aug 2024 09:06:46 +0200
From: Florian Westphal <fw@...len.de>
To: Yan Zhen <yanzhen@...o.com>
Cc: pablo@...filter.org, kadlec@...filter.org, roopa@...dia.com,
razor@...ckwall.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, dsahern@...nel.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
bridge@...ts.linux.dev, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH net-next v1] netfilter: Use kmemdup_array instead of
kmemdup for multiple allocation
Yan Zhen <yanzhen@...o.com> wrote:
> When we are allocating an array, using kmemdup_array() to take care about
> multiplication and possible overflows.
>
> Also it makes auditing the code easier.
Reviewed-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists