Searched hist:"0 b59e272f9324dac8c12444cf5926be84abd53f9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/bluetooth/ |
H A D | hci_sock.c | diff 0b59e272f9324dac8c12444cf5926be84abd53f9 Thu Jul 22 02:42:08 CDT 2021 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Bluetooth: reorganize functions from hci_sock_sendmsg()
Since userfaultfd mechanism allows sleeping with kernel lock held, avoiding page fault with kernel lock held where possible will make the module more robust. This patch just brings memcpy_from_msg() calls to out of sock lock.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|