From: Jia-Ju Bai <baijiaju1...@163.com> Date: Wed, 31 May 2017 15:08:25 +0800
> The driver may sleep under a read spin lock, and the function call path is: > send_socklist (acquire the lock by read_lock) > skb_copy(GFP_KERNEL) --> may sleep > > To fix it, the "GFP_KERNEL" is replaced with "GFP_ATOMIC". > > Signed-off-by: Jia-Ju Bai <baijiaju1...@163.com> Just proves that nobody has ever run this code with lock debugging enabled, if at all. Applied, thanks.