mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
25717382c1
It looks like bnep_session has same pattern as the issue reported in
old rfcomm:
while (1) {
set_current_state(TASK_INTERRUPTIBLE);
if (condition)
break;
// may call might_sleep here
schedule();
}
__set_current_state(TASK_RUNNING);
Which fixed at:
|
||
---|---|---|
.. | ||
bnep.h | ||
core.c | ||
Kconfig | ||
Makefile | ||
netdev.c | ||
sock.c |