[FS#1301] swconfig.c swconfig_get_dev call mutex_lock in atomic()

LEDE Bugs lede-bugs at lists.infradead.org
Fri Jan 26 01:00:46 PST 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - yaxinsn (yaxinsn) 

Attached to Project - OpenWrt/LEDE Project
Summary - swconfig.c swconfig_get_dev call mutex_lock in atomic()
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - dir:/target/linux/generic/files/drivers/net/phy/swconfig.c

function: swconfig_get_dev
call mutex_lock(&dev->sw_mutex) before swconfig_unlock(), this is bug. linux kernel not allow call sleep() in atomic()


 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1301



More information about the lede-bugs mailing list