mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-10-27 17:05:49 +10:00
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 | ||