Message ID | 20220125191537.2426630-1-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2d4b37b67cacbbad6fdb8621333f5ce48ae0e5fd |
Headers | show |
Series | Bluetooth: hci_core: Rate limit the logging of invalid SCO handle | expand |
Context | Check | Description |
---|---|---|
tedd_an/checkpatch | success | Checkpatch PASS |
tedd_an/gitlint | success | Gitlint PASS |
tedd_an/subjectprefix | success | PASS |
tedd_an/buildkernel | success | Build Kernel PASS |
tedd_an/buildkernel32 | success | Build Kernel32 PASS |
tedd_an/incremental_build | success | Pass |
tedd_an/testrunnersetup | success | Test Runner Setup PASS |
tedd_an/testrunnerl2cap-tester | success | Total: 40, Passed: 40 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnerbnep-tester | success | Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnermgmt-tester | success | Total: 493, Passed: 493 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnerrfcomm-tester | success | Total: 9, Passed: 9 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnersco-tester | success | Total: 12, Passed: 12 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunnersmp-tester | success | Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0 |
tedd_an/testrunneruserchan-tester | success | Total: 4, Passed: 4 (100.0%), Failed: 0, Not Run: 0 |
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
Hi Luiz, > 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. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > --- > net/bluetooth/hci_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 14c2da9d33ff..5bde0ec41177 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -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);