summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_sock.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-08-12 12:11:28 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2016-08-25 18:58:47 (GMT)
commit90a56f72edb088c678083c32d05936c7c8d9a948 (patch)
tree77ae81d5190d168dff3f78c55de97a88865af6f5 /net/bluetooth/hci_sock.c
parentdbb50887c8f619fc5c3489783ebc3122bc134a31 (diff)
downloadlinux-90a56f72edb088c678083c32d05936c7c8d9a948.tar.xz
Bluetooth: Fix bt_sock_recvmsg when MSG_TRUNC is not set
Commit b5f34f9420b50c9b5876b9a2b68e96be6d629054 attempt to introduce proper handling for MSG_TRUNC but recv and variants should still work as read if no flag is passed, but because the code may set MSG_TRUNC to msg->msg_flags that shall not be used as it may cause it to be behave as if MSG_TRUNC is always, so instead of using it this changes the code to use the flags parameter which shall contain the original flags. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
0 files changed, 0 insertions, 0 deletions