Search Linux Wireless

Re: [PATCH] ath11k: fix some sleeping in atomic bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> The ath11k_dbring_bufs_replenish() and ath11k_dbring_fill_bufs()
> take a "gfp" parameter but they since they take spinlocks, the
> allocations they do have to be atomic.  This causes a bug because
> ath11k_dbring_buf_setup passes GFP_KERNEL for the gfp flags.
> 
> The fix is to use GFP_ATOMIC and remove the unused parameters.
> 
> Fixes: bd6478559e27 ("ath11k: Add direct buffer ring support")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

aadf7c81a077 ath11k: fix some sleeping in atomic bugs

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210812070434.GE31863@kili/

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux