Re: [PATCH net-next v7 08/10] wifi: qtnfmac: Use netdev dummy allocator helper

2024-04-22 Thread Kalle Valo
Breno Leitao writes: > There is a new dummy netdev allocator, use it instead of > alloc_netdev()/init_dummy_netdev combination. > > Using alloc_netdev() with init_dummy_netdev might cause some memory > corruption at the driver removal side. > > Fixes: 61cdb09ff760 ("wifi: qtnfmac: allocate dummy

[PATCH net-next v7 08/10] wifi: qtnfmac: Use netdev dummy allocator helper

2024-04-22 Thread Breno Leitao
There is a new dummy netdev allocator, use it instead of alloc_netdev()/init_dummy_netdev combination. Using alloc_netdev() with init_dummy_netdev might cause some memory corruption at the driver removal side. Fixes: 61cdb09ff760 ("wifi: qtnfmac: allocate dummy net_device dynamically") Signed-off