lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65153ac3f432295a89b42c8b9de83fcabdefe19c.camel@redhat.com>
Date: Thu, 04 Jul 2024 11:36:36 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Przemek Kitszel <przemyslaw.kitszel@...el.com>, Chen Ni
 <nichen@...as.ac.cn>
Cc: oss-drivers@...igine.com, netdev@...r.kernel.org, 
 linux-kernel@...r.kernel.org, louis.peens@...igine.com, kuba@...nel.org, 
 davem@...emloft.net, edumazet@...gle.com, horms@...nel.org, 
 yinjun.zhang@...igine.com, johannes.berg@...el.com,
 ryno.swart@...igine.com,  ziyang.chen@...igine.com, linma@....edu.cn,
 niklas.soderlund@...igine.com
Subject: Re: [PATCH net-next] ntp: fix size argument for kcalloc

On Wed, 2024-07-03 at 11:16 +0200, Przemek Kitszel wrote:
> On 7/3/24 04:56, Chen Ni wrote:
> > The size argument to kcalloc should be the size of desired structure,
> 
> xsk_pools is a double pointer, so not "desired structure" but rather you
> should talk about an element size.
> 
> > not the pointer to it.
> > 
> > Fixes: 6402528b7a0b ("nfp: xsk: add AF_XDP zero-copy Rx and Tx support")
> 
> even if the the behavior is not changed, the fix should be targeted to
> net tree

This patch is IMHO more a cleanup than a real fix. As such it's more
suited for net-next. For the same reason I think it should not go to
stable, so I'm dropping the fixes tag, too.

Thanks,

Paolo


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ