[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <00707743-edb9-8030-38f8-fb8cca731ec2@iogearbox.net>
Date: Sat, 28 Jul 2018 21:17:22 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: YueHaibing <yuehaibing@...wei.com>, davem@...emloft.net,
ast@...nel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] cls_bpf: Use kmemdup instead of duplicating it
in cls_bpf_prog_from_ops
On 07/28/2018 12:35 PM, YueHaibing wrote:
> Replace calls to kmalloc followed by a memcpy with a direct call to
> kmemdup.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists