[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240828071004.1245213-1-ruanjinjie@huawei.com>
Date: Wed, 28 Aug 2024 15:09:59 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <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>,
<krzk@...nel.org>, <netfilter-devel@...r.kernel.org>,
<coreteam@...filter.org>, <bridge@...ts.linux.dev>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH -next 0/5] net: Use kmemdup_array() instead of kmemdup() for multiple allocation
Let the kmemdup_array() take care about multiplication and possible
overflows.
Jinjie Ruan (5):
nfc: core: Use kmemdup_array() instead of kmemdup() for multiple
allocation
netfilter: Use kmemdup_array() instead of kmemdup() for multiple
allocation
netfilter: arptables: Use kmemdup_array() instead of kmemdup() for
multiple allocation
netfilter: iptables: Use kmemdup_array() instead of kmemdup() for
multiple allocation
netfilter: nf_nat: Use kmemdup_array() instead of kmemdup() for
multiple allocation
net/bridge/netfilter/ebtables.c | 2 +-
net/ipv4/netfilter/arp_tables.c | 2 +-
net/ipv4/netfilter/ip_tables.c | 2 +-
net/netfilter/nf_nat_core.c | 2 +-
net/nfc/core.c | 5 ++---
5 files changed, 6 insertions(+), 7 deletions(-)
--
2.34.1
Powered by blists - more mailing lists