Search Linux Wireless

Re: [PATCH 1/2] mac80211: clean up mesh sta allocation warning

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

 



On Wed, 2013-01-23 at 12:18 -0800, Thomas Pedersen wrote:
> This refactoring fixes a "scheduling while atomic" warning
> when allocating a mesh station entry while holding the RCU
> read lock. Fix this by creating a new function
> mesh_sta_info_get(), which correctly handles the locking
> and returns under RCU.
> 
> Also move some unnecessarily #ifdefed mesh station init
> code from sta_info_alloc() to __mesh_sta_info_alloc().

Applied, I changed it to a bit to make sparse able to prove correctness.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux