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] [day] [month] [year] [list]
Message-ID: <171103377318.103792.6654245785464194890.kvalo@kernel.org>
Date: Thu, 21 Mar 2024 15:09:34 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Breno Leitao <leitao@...ian.org>
Cc: Igor Mitsyanko <imitsyanko@...ntenna.com>,
 Sergey Matyukevich <geomatsi@...il.com>, kuba@...nel.org,
 keescook@...omium.org,
 linux-wireless@...r.kernel.org (open list:QUANTENNA QTNFMAC WIRELESS DRIVER),
 linux-kernel@...r.kernel.org (open list)
Subject: Re: [PATCH] wifi: qtnfmac: allocate dummy net_device dynamically

Breno Leitao <leitao@...ian.org> wrote:

> Embedding net_device into structures prohibits the usage of flexible
> arrays in the net_device structure. For more details, see the discussion
> at [1].
> 
> Un-embed the net_device from struct qtnf_bus by converting it
> into a pointer. Then use the leverage alloc_netdev() to allocate the
> net_device object at qtnf_pcie_probe(). The free of the device occurs at
> qtnf_pcie_remove().
> 
> [1] https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/
> 
> Signed-off-by: Breno Leitao <leitao@...ian.org>

Patch applied to wireless-next.git, thanks.

61cdb09ff760 wifi: qtnfmac: allocate dummy net_device dynamically

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240319172634.894327-1-leitao@debian.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ