aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2024-04-22 12:39:01 +0000
committerDavid S. Miller <[email protected]>2024-04-24 11:00:17 +0000
commit4a8b77eff7e5654c36cf6f0997772efedc01f6ba (patch)
tree207311e22e6ede77c4903854a54065c404ead034 /drivers/net/ethernet/intel/ice/ice_main.c
parentnet: ibm/emac: allocate dummy net_device dynamically (diff)
downloadkernel-4a8b77eff7e5654c36cf6f0997772efedc01f6ba.tar.gz
kernel-4a8b77eff7e5654c36cf6f0997772efedc01f6ba.zip
wifi: qtnfmac: Use netdev dummy allocator helper
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-by: Breno Leitao <[email protected]> Acked-by: Kalle Valo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions