]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix hci_sock_recvmsg when MSG_TRUNC is not set
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Aug 2016 13:02:20 +0000 (16:02 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Aug 2016 18:58:47 +0000 (20:58 +0200)
commit1d3acb4801f41b77d9d18f874dfe2fedd44d1568
treeb644046272d04e166febcc1870eb8f05cc9cd6d0
parenta7bd8a5e9b0220615b696f70d9f15ddc6bda86d0
Bluetooth: Fix hci_sock_recvmsg when MSG_TRUNC is not set

Similar to bt_sock_recvmsg MSG_TRUNC shall be checked using the original
flags not msg_flags.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sock.c