diff options
author | 2020-02-18 10:33:20 -0800 | |
---|---|---|
committer | 2020-02-18 22:02:15 +0100 | |
commit | a2a8b0b4adeaec3de5213b7825588352a696df75 (patch) | |
tree | 4f28f0c6189d7c49c2c6b804377198b17b00d190 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: hci_h5: Move variable into local scope (diff) | |
download | wireguard-linux-a2a8b0b4adeaec3de5213b7825588352a696df75.tar.xz wireguard-linux-a2a8b0b4adeaec3de5213b7825588352a696df75.zip |
Bluetooth: Fix crash when using new BT_PHY option
This fixes the invalid check for connected socket which causes the
following trace due to sco_pi(sk)->conn being NULL:
RIP: 0010:sco_sock_getsockopt+0x2ff/0x800 net/bluetooth/sco.c:966
L2CAP has also been fixed since it has the same problem.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.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