diff options
author | 2022-01-07 10:17:27 +0300 | |
---|---|---|
committer | 2022-01-07 08:41:38 +0100 | |
commit | b9f9dbad0bd1c302d357fdd327c398f51f5fc2b1 (patch) | |
tree | 9b028292f6e2360e90655340a475c896589b587f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt() (diff) | |
download | wireguard-linux-b9f9dbad0bd1c302d357fdd327c398f51f5fc2b1.tar.xz wireguard-linux-b9f9dbad0bd1c302d357fdd327c398f51f5fc2b1.zip |
Bluetooth: hci_sock: fix endian bug in hci_sock_setsockopt()
This copies a u16 into the high bits of an int, which works on a big
endian system but not on a little endian system.
Fixes: 09572fca7223 ("Bluetooth: hci_sock: Add support for BT_{SND,RCV}BUF")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions