Bluetooth: hci_core: Rate limit the logging of invalid SCO handle
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH 1/1 Bluetooth: hci_core: Rate limit the logging of invalid SCO handle
From: Luiz Augusto von Dentz <[email protected]>
The invalid SCO handle error is normally caused by a race in the USB transport where the data and event happen to be 2 different endpoints so the event carrying the SCO handle is processed after its data.
Note: This can probably be resolved with use of force_poll_sync debugfs.
--- net/bluetooth/hci_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/bluetooth/hci_core.c +2 -2
@@ -3667,8 +3667,8 @@ static void hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb)sco_recv_scodata (conn, skb);return ; }else { -bt_dev_err (hdev,"SCO packet for unknown connection handle %d" , - handle); +bt_dev_err_ratelimited (hdev,"SCO packet for unknown connection handle %d" , + handle); }kfree_skb (skb);
Signature · 1 line
2.34.1
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=608393
---Test result---
Test Summary:
CheckPatch PASS 1.56 seconds GitLint PASS 1.03 seconds SubjectPrefix PASS 0.85 seconds BuildKernel PASS 29.74 seconds BuildKernel32 PASS 26.66 seconds Incremental Build with patchesPASS 36.42 seconds TestRunner: Setup PASS 469.09 seconds TestRunner: l2cap-tester PASS 13.42 seconds TestRunner: bnep-tester PASS 6.12 seconds TestRunner: mgmt-tester PASS 104.48 seconds TestRunner: rfcomm-tester PASS 7.37 seconds TestRunner: sco-tester PASS 7.62 seconds TestRunner: smp-tester PASS 7.49 seconds TestRunner: userchan-tester PASS 6.37 seconds
---
Regards,
Linux Bluetooth
Marcel Holtmann
maintainerHi Luiz,
Quoted 11 lines
The invalid SCO handle error is normally caused by a race in the USB transport where the data and event happen to be 2 different endpoints so the event carrying the SCO handle is processed after its data.
Note: This can probably be resolved with use of
force_poll_syncdebugfs.Signed-off-by Luiz Augusto von Dentz <[email protected]>---
net/bluetooth/hci_core.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel