l2test: Attempt to use BT_SNDMTU if output MTU has been set
Luiz Augusto von Dentz
maintainerPATCH 1/1 l2test: Attempt to use BT_SNDMTU if output MTU has been set
From: Luiz Augusto von Dentz <[email protected]>
With the suggested fixes for L2CAP/ECFC/BV-27-C the kernel shall be able to accept setsockopt(BT_SNDMTU) in order for an applications to require a minimal output MTU greater than 64.
--- tools/l2test.c | 6 ++++++ 1 file changed, 6 insertions(+)
tools/l2test.c +6 -0
@@ -318,6 +318,12 @@ static int setopts(int sk, struct l2cap_options *opts) } } +/* Older kernel versions may not support BT_SNDMTU so don't check its +* return. +*/ +setsockopt (sk,SOL_BLUETOOTH ,BT_SNDMTU , &opts->omtu, +sizeof (opts->omtu)); +return setsockopt (sk,SOL_BLUETOOTH ,BT_RCVMTU , &opts->imtu,sizeof (opts->imtu)); }
Signature · 1 line
2.52.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=1055977
---Test result---
Test Summary:
CheckPatch PENDING 0.44 seconds GitLint PENDING 0.41 seconds BuildEll PASS 17.77 seconds BluezMake PASS 647.35 seconds MakeCheck PASS 18.10 seconds MakeDistcheck PASS 218.80 seconds CheckValgrind PASS 278.31 seconds CheckSmatch PASS 312.34 seconds bluezmakeextell PASS 168.30 seconds IncrementalBuild PENDING 0.32 seconds ScanBuild PASS 914.40 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth